Function

Auto-generated documentation for mypy_boto3_builder.structures.function module.

Module-level function.

Function

[find in source code]

class Function():
    def __init__(
        name: str,
        arguments: List[Argument],
        return_type: FakeAnnotation,
        docstring: str = '',
        decorators: Iterable[FakeAnnotation] = tuple(),
        body_lines: Iterable[str] = tuple(),
        type_ignore: bool = False,
    ):

Module-level function.

See also

Function().body

[find in source code]

@property
def body() -> str:

Function().get_required_import_records

[find in source code]

def get_required_import_records() -> Set[ImportRecord]:

Function().get_types

[find in source code]

def get_types() -> Set[FakeAnnotation]: