Skip to content

Method Type Map#

Mypy_boto3_builder Index / Mypy Boto3 Builder / Type Maps / Method Type Map

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

get_method_type_stub#

Show source in method_type_map.py:182

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.

Signature#

def get_method_type_stub(
    service_name: ServiceName, class_name: str, method_name: str, argument_name: str
) -> FakeAnnotation | None: ...

See also#