Skip to content

Commit 6add5c6

Browse files
authored
🐛 Fix Type Annotation for annotation/storage.py
- Fix Type Annotation for `annotation/storage.py`
1 parent 14f1215 commit 6add5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiatoolbox/annotation/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ def patch_many(
814814
geometries = geometries or (None for _ in keys) # pragma: no branch
815815
# Update the store
816816
for key, geometry, properties in zip(keys, geometries, properties_iter):
817-
properties_ = copy.deepcopy(properties)
817+
properties_ = cast(dict[str, Any], copy.deepcopy(properties))
818818
self.patch(key, geometry, properties_)
819819

820820
def remove(self: AnnotationStore, key: str) -> None:

0 commit comments

Comments
 (0)