TypedDictSorter

mypy-boto3-builder Index / Mypy Boto3 Builder / Utils / TypedDictSorter

Auto-generated documentation for mypy_boto3_builder.utils.typed_dict_sorter module.

TypedDictSorter

Show source in typed_dict_sorter.py:11

Sorter for TypeTypedDict to prevent import errors.

Signature

class TypedDictSorter:
    def __init__(self, typed_dicts: Iterable[TypeTypedDict]):
        ...

See also

TypedDictSorter().sort

Show source in typed_dict_sorter.py:38

Sort items with TopologicalSorter or stringify as a fallback.

Signature

def sort(self) -> list[TypeTypedDict]:
    ...

See also