Literal Type Map

mypy-boto3-builder Index / Mypy Boto3 Builder / Type Maps / Literal Type Map

Auto-generated documentation for mypy_boto3_builder.type_maps.literal_type_map module.

get_literal_type_stub

Show source in literal_type_map.py:9

Get stub type for botocore literal.

Arguments

  • service_name - Service name.
  • literal_name - Target Literal name.

Returns

Literal children or None.

Signature

def get_literal_type_stub(
    service_name: ServiceName, literal_name: str
) -> list[str] | None:
    ...

See also