fixing bugs with ci pipeline

This commit is contained in:
GotthardG
2024-12-16 22:50:04 +01:00
parent e0e176881b
commit 0178de96fd
14 changed files with 145 additions and 96 deletions

View File

@ -1,7 +1,7 @@
import logging
import openpyxl
from pydantic import ValidationError
from typing import Union, List, Tuple
from typing import List, Tuple
from io import BytesIO
from app.sample_models import SpreadsheetModel
@ -201,7 +201,8 @@ class SampleSpreadsheetImporter:
for error in e.errors():
field = error["loc"][0]
msg = error["msg"]
# Map field name (which is the key in `record`) to its index in the row
# Map field name (which is the key in `record`) to its index in the
# row
field_to_col = {
"dewarname": 0,
"puckname": 1,