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.
- mypy-boto3-builder / Modules / Mypy Boto3 Builder / Type Maps / Shape Type Map
get_shape_type_stub
def get_shape_type_stub(
shape_type_maps: Iterable[ShapeTypeMap],
service_name: ServiceName,
shape_name: str,
) -> FakeAnnotation | None:
Get stub type for input botocore shape.
Arguments
shape_type_map
- Map to lookupservice_name
- Service nameshape_name
- Target TypedDict name
Returns
Type annotation or None.