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.


[find in source code]

def get_method_type_stub(
    service_name: ServiceName,
    class_name: str,
    method_name: str,
    argument_name: str,
) -> Optional[FakeAnnotation]:

Get stub type for method argument.


  • service_name - Service name.
  • class_name - Parent class name.
  • method_name - Method name.
  • argument_name - Argument name.


Type annotation or None.

See also