dict to Item object
This commit is contained in:
parent
4e28e841ad
commit
d9a0926b69
@ -43,7 +43,7 @@ def csv_to_item(items_csv_reader, solver_run):
|
||||
item[col] = row[key]
|
||||
|
||||
# confirm item is only added if it meets the criteria of 100% constraints as a pre-filter
|
||||
items.append(item)
|
||||
items.append(Item.parse_obj(item))
|
||||
# valid_item = True
|
||||
# item = Item.parse_obj(item)
|
||||
# for constraint in solver_run.constraints:
|
||||
|
Loading…
x
Reference in New Issue
Block a user