Parse Attributes

mypy-boto3-builder Index / Mypy Boto3 Builder / Parsers / Parse Attributes

Auto-generated documentation for mypy_boto3_builder.parsers.parse_attributes module.

parse_attributes

Show source in parse_attributes.py:12

Extract attributes from boto3 resource.

Arguments

  • resource - boto3 service resource.

Returns

A list of Attribute structures.

Signature

def parse_attributes(
    service_name: ServiceName,
    resource_name: str,
    resource: Boto3ServiceResource,
    shape_parser: ShapeParser,
) -> list[Attribute]:
    ...

See also