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

Parse Collections

Auto-generated documentation for builder.mypy_boto3_builder.parsers.parse_collections module.

Boto3 ServiceResource collections parser, produces structures.Collection.

parse_collections

[find in source code]

def parse_collections(
    parent_name: str,
    resource: Boto3ServiceResource,
    service_name: ServiceName,
    shape_parser: ShapeParser,
) -> List[Collection]:

Extract collections from boto3 resource.

Arguments

Returns

A list of Collection structures.