View on GitHub

mypy_boto3

Type annotations for boto3 compatible with mypy, VSCode and PyCharm

Download this project as a .zip file Download this project as a tar.gz file

Method Type Map

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

String to type annotation map that find type annotation by method and argument name.

get_method_type_stub

[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.

Arguments

Returns

Type annotation or None.