boto3_type_annotations icon indicating copy to clipboard operation
boto3_type_annotations copied to clipboard

RouteTable type missing "routes"

Open yaroslavvb opened this issue 5 years ago • 1 comments

Any idea why "routes" attribute is missing on RouteTable type?

https://github.com/alliefitter/boto3_type_annotations/blob/793d4a954eb24736a45f3ef6e9beaae1bbe135ab/boto3_type_annotations/boto3_type_annotations/ec2/service_resource.py#L624

I seem to be able to use it through boto3 Screenshot 2019-05-31 19 58 46

yaroslavvb avatar Jun 01 '19 03:06 yaroslavvb

It looks like, it--and RouteTable's other two attributes: associations, and vpc--aren't being parsed correctly or possibly, they aren't documented correctly.

class RouteTable(base.ServiceResource):
    associations_attribute: List # Should be "associations"
    propagating_vgws: List
    route_table_id: str
    routes_attribute: List # Should be "routes"
    tags: List
    vpc_id: str # Should be "vpc"
    owner_id: str
    id: str

This is something I can take a look at this weekend.

alliefitter avatar Jun 04 '19 20:06 alliefitter