Skip to content

Commit

Permalink
TypedDictSorter returns consistent results
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Jul 28, 2023
1 parent 4100c3c commit d936c3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mypy_boto3_builder/utils/typed_dict_sorter.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class TypedDictSorter:

def __init__(self, typed_dicts: Iterable[TypeTypedDict]):
self.typed_dicts = list(typed_dicts)
self.typed_dicts.sort(key=lambda x: x.name)
self.typed_dicts_map = self._get_typed_dicts_map(self.typed_dicts)
self.logger = get_logger()

Expand Down

0 comments on commit d936c3f

Please sign in to comment.