Skip to content

Commit ec73f58

Browse files
authored
syntax error, isinstance did not like comparison to typed dict
1 parent 5d6132e commit ec73f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/python/pymongoarrow/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def _get_projection(self):
7171
value = self._get_field_projection_value(fname, ftype)
7272
if isinstance(value, bool):
7373
projection[updated_name] = value
74-
elif isinstance(value, dict[str,bool]):
74+
else:
7575
projection.update(value)
7676
return projection
7777

0 commit comments

Comments
 (0)