mypy compliant

This commit is contained in:
Brian Bjarke Jensen
2024-02-25 00:04:01 +01:00
parent 4719117d71
commit 8e107b785e
3 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -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,