ArgSpecParser

mypy-boto3-builder Index / Mypy Boto3 Builder / Parsers / Docstring Parser / ArgSpecParser

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

ArgSpecParser

Show source in argspec_parser.py:16

Converter of function argspec to Argument list.

Signature

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

See also

ArgSpecParser().get_arguments

Show source in argspec_parser.py:59

Get arguments from class_name.method_name method func.

Signature

def get_arguments(
    self, class_name: str, method_name: str, func: MethodType
) -> list[Argument]:
    ...

See also

ArgSpecParser().get_return_type

Show source in argspec_parser.py:77

Get class_name.method_name return type annotation.

Signature

def get_return_type(self, class_name: str, method_name: str) -> FakeAnnotation | None:
    ...