We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 471a3bf commit 585070dCopy full SHA for 585070d
1 file changed
samples/openapi3/client/petstore/python-pydantic-v1/petstore_api/models/array_of_map_model.py
@@ -61,7 +61,7 @@ def to_dict(self):
61
for _item in self.array_of_map_property:
62
if _item:
63
_items.append(
64
- {_inner_key: _inner_value.to_dict() for _inner_key, _inner_value in _item.items if _inner_value is not None}
+ {_inner_key: _inner_value.to_dict() for _inner_key, _inner_value in _item.items() if _inner_value is not None}
65
)
66
_dict['array_of_map_property'] = _items
67
# puts key-value pairs in additional_properties in the top level
0 commit comments