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

ArgSpecParser

Auto-generated documentation for builder.mypy_boto3_builder.parsers.docstring_parser.argspec_parser module.

Converter of function argspec to Argument list.

ArgSpecParser

[find in source code]

class ArgSpecParser():
    def __init__(prefix: str, service_name: ServiceName) -> None:

Converter of function argspec to Argument list.

ArgSpecParser().get_arguments

[find in source code]

def get_arguments(
    class_name: str,
    method_name: str,
    func: FunctionType,
) -> List[Argument]:

ArgSpecParser().get_return_type

[find in source code]

def get_return_type(
    class_name: str,
    method_name: str,
) -> Optional[FakeAnnotation]: