mypy compliant
This commit is contained in:
+2
-2
@@ -103,13 +103,13 @@ def cycle_visual_communication_data(
|
||||
for elem
|
||||
in annotation_values
|
||||
]
|
||||
annotations = {
|
||||
annotation_map = {
|
||||
key: value
|
||||
for key, value
|
||||
in zip(annotation_keys, annotation_values)
|
||||
}
|
||||
# instantiate ModelOutputs object
|
||||
annotations = ModelOutputs.from_annotations(**annotations)
|
||||
annotations = ModelOutputs.from_annotations(**annotation_map)
|
||||
# save data to database
|
||||
upsert_annotations(
|
||||
collection=collection,
|
||||
|
||||
Reference in New Issue
Block a user