Parse Attributes
Auto-generated documentation for mypy_boto3_builder.parsers.parse_attributes module.
Parser for Boto3 ServiceResource attributes, produces structures.Attribute
.
- mypy-boto3-builder / Modules / Mypy Boto3 Builder / Parsers / Parse Attributes
parse_attributes
def parse_attributes(
service_name: ServiceName,
resource_name: str,
resource: Boto3ServiceResource,
shape_parser: ShapeParser,
) -> list[Attribute]:
Extract attributes from boto3 resource.
Arguments
resource
- boto3 service resource.
Returns
A list of Attribute structures.