Shape Type Map

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

String to type annotation map to replace overriden botocore shapes.

get_shape_type_stub

[find in source code]

def get_shape_type_stub(
    service_name: ServiceName,
    typed_dict_name: str,
) -> Optional[FakeAnnotation]:

Get stub type for botocore shape.

Arguments

  • service_name - Service name.
  • typed_dict_name - Target TypedDict name.

Returns

Type annotation or None.

See also