TypeValue
mypy-boto3-builder Index / Mypy Boto3 Builder / Parsers / Docstring Parser / TypeValue
Auto-generated documentation for mypy_boto3_builder.parsers.docstring_parser.type_value module.
TypeValue
Show source in type_value.py:20
Structure for parsed as dict request or response syntax values.
Signature
class TypeValue:
def __init__(
self, service_name: ServiceName, prefix: str, value: dict[str, Any]
) -> None:
...
See also
TypeValue().get_type
Show source in type_value.py:218
Get value type.
Signature
def get_type(self) -> FakeAnnotation:
...
See also
TypeValue().is_dict
Show source in type_value.py:49
Whether value is Dict.
Signature
def is_dict(self) -> bool:
...
TypeValue().is_func_call
Show source in type_value.py:79
Whether value is Callable.
Signature
def is_func_call(self) -> bool:
...
TypeValue().is_list
Show source in type_value.py:55
Whether value is List.
Signature
def is_list(self) -> bool:
...
TypeValue().is_literal
Show source in type_value.py:61
Whether value is Literal.
Signature
def is_literal(self) -> bool:
...
TypeValue().is_literal_item
Show source in type_value.py:184
Whether value is Literal item.
Signature
def is_literal_item(self) -> bool:
...
TypeValue().is_plain
Show source in type_value.py:85
Whether value is not None.
Signature
def is_plain(self) -> bool:
...
TypeValue().is_set
Show source in type_value.py:67
Whether value is Set.
Signature
def is_set(self) -> bool:
...
TypeValue().is_union
Show source in type_value.py:73
Whether value is Union.
Signature
def is_union(self) -> bool:
...