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