Skip to content

Commit 92205ba

Browse files
authored
update calling function according to lower level change
1 parent 76dd880 commit 92205ba

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

bindings/python/pymongoarrow/schema.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,7 @@ def _normalize_mapping(mapping):
6868
def _get_projection(self):
6969
projection = {"_id": False}
7070
for fname, ftype in self.typemap.items():
71-
fname, ftype, projection = self._get_field_projection_value(fname, ftype, projection)
72-
# if isinstance(value, bool):
73-
# projection[fname] = value
74-
# else:
75-
# projection.update(value)
71+
projection = self._get_field_projection_value(fname, ftype, projection)
7672
return projection
7773

7874
def _get_field_projection_value(self, fname, ftype, projection):

0 commit comments

Comments
 (0)