Skip to content

Commit

Permalink
fix: get_properties no longer sorts keys in alphabetical order
Browse files Browse the repository at this point in the history
  • Loading branch information
jgroth committed Feb 22, 2021
1 parent c032d1a commit e80cdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marshmallow_jsonschema/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def __init__(self, *args, **kwargs) -> None:

def get_properties(self, obj) -> typing.Dict[str, typing.Dict[str, typing.Any]]:
"""Fill out properties field."""
properties = self.dict_class()
properties = obj.dict_class()

if self.props_ordered:
fields_items_sequence = obj.fields.items()
Expand Down

0 comments on commit e80cdd7

Please sign in to comment.