Skip to content

Collection#

Mypy_boto3_builder Index / Mypy Boto3 Builder / Structures / Collection

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

Collection#

Show source in collection.py:15

Boto3 ServiceResource or Resource collection.

Signature#

class Collection(ClassRecord):
    def __init__(
        self,
        name: str,
        attribute_name: str,
        parent_name: str,
        service_name: ServiceName,
        type_annotation: FakeAnnotation,
        object_class_name: str,
    ): ...

See also#

Show source in collection.py:40

Link to boto3 docs.

Signature#

@property
def boto3_doc_link(self) -> str: ...

Collection().iterate_types#

Show source in collection.py:47

Iterate over all type annotations.

Signature#

def iterate_types(self) -> Iterator[FakeAnnotation]: ...

See also#