TypeValue

Auto-generated documentation for mypy_boto3_builder.parsers.docstring_parser.type_value module.

Structure for parsed as dict request or response syntax values.

TypeValue

[find in source code]

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

[find in source code]

def get_type() -> FakeAnnotation:

Get value type.

See also

TypeValue().is_dict

[find in source code]

def is_dict() -> bool:

Whether value is Dict.

TypeValue().is_func_call

[find in source code]

def is_func_call() -> bool:

Whether value is Callable.

TypeValue().is_list

[find in source code]

def is_list() -> bool:

Whether value is List.

TypeValue().is_literal

[find in source code]

def is_literal() -> bool:

Whether value is Literal.

TypeValue().is_literal_item

[find in source code]

def is_literal_item() -> bool:

Whether value is Literal item.

TypeValue().is_plain

[find in source code]

def is_plain() -> bool:

Whether value is not None.

TypeValue().is_set

[find in source code]

def is_set() -> bool:

Whether value is Set.

TypeValue().is_union

[find in source code]

def is_union() -> bool:

Whether value is Union.