Method Type Map
Auto-generated documentation for mypy_boto3_builder.type_maps.method_type_map module.
String to type annotation map that find type annotation by method and argument name.
- mypy-boto3-builder / Modules / Mypy Boto3 Builder / Type Maps / Method Type Map
get_method_type_stub
def get_method_type_stub(
service_name: ServiceName,
class_name: str,
method_name: str,
argument_name: str,
) -> FakeAnnotation | None:
Get stub type for method argument.
Arguments
service_name
- Service name.class_name
- Parent class name.method_name
- Method name.argument_name
- Argument name.
Returns
Type annotation or None.