TypeConstant#
Mypy_boto3_builder Index / Mypy Boto3 Builder / Type Annotations / TypeConstant
Auto-generated documentation for mypy_boto3_builder.type_annotations.type_constant module.
EllipsisType#
Show source in type_constant.py:12
Placeholder for ...
.
Signature#
TypeConstant#
Show source in type_constant.py:21
Wrapper for constant like False
or "test"
.
Arguments#
value
- Constant value.
Signature#
See also#
TypeConstant().copy#
Show source in type_constant.py:46
Create a copy of type annotation wrapper.
Signature#
TypeConstant().render#
Show source in type_constant.py:34
Render type annotation to a valid Python code for local usage.
Returns#
A string with a valid type annotation.