fixing bugs with ci pipeline
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user