TypeDefSortable#
Mypy_boto3_builder Index / Mypy Boto3 Builder / Type Annotations / TypeDefSortable
Auto-generated documentation for mypy_boto3_builder.type_annotations.type_def_sortable module.
TypeDefSortable#
Show source in type_def_sortable.py:14
Sortable protocol for TypeDefSorter.
Signature#
TypeDefSortable().gt#
Show source in type_def_sortable.py:22
Compare with another TypeDefSortable. Has to be implemented.
Signature#
See also#
TypeDefSortable().lt#
Show source in type_def_sortable.py:28
Compare with another TypeDefSortable. Has to be implemented.
Signature#
See also#
TypeDefSortable().get_children_literals#
Show source in type_def_sortable.py:64
Extract required TypeLiteral list from attributes.
Signature#
See also#
TypeDefSortable().get_children_types#
Show source in type_def_sortable.py:52
Extract required type annotations from attributes.
Signature#
See also#
TypeDefSortable().get_definition_import_records#
Show source in type_def_sortable.py:83
Get import record required for using TypeAnnotation.
Signature#
See also#
TypeDefSortable().get_sortable_children#
Show source in type_def_sortable.py:34
Extract required sortable TypeDef list from attributes.
Signature#
TypeDefSortable().is_stringified#
Show source in type_def_sortable.py:40
Whether TypeDef usage should be rendered as a string.
Signature#
TypeDefSortable().is_type_def#
Show source in type_def_sortable.py:70
Whether type annotation is a TypeDef.
Signature#
TypeDefSortable().is_typed_dict#
Show source in type_def_sortable.py:89
Whether type annotation is a TypedDict.
Signature#
TypeDefSortable().is_union#
Show source in type_def_sortable.py:95
Whether type annotation is a TypeUnion.
Signature#
TypeDefSortable().iterate_children#
Show source in type_def_sortable.py:101
Iterate over children.
Signature#
TypeDefSortable().render_definition#
Show source in type_def_sortable.py:58
Render type annotation for debug purposes.
Signature#
TypeDefSortable().stringify#
Show source in type_def_sortable.py:46
Render TypeDef usage as a string.
Signature#
TypeDefSortable().type_hint_annotations#
Show source in type_def_sortable.py:76
Type annotations list from arguments and return type with internal types.