Plans to add type annotations? #2848
-
There are some libraries that try to fill the void of missing type annotations for Python and the AWS libraries. Is there a reason -- other than development time and effort -- that we do not have types in this repository owned and managed by If there is stomach to own/manage this I'd be happy to help draft some proposals. I think this line is a big reason the types are not easily read/managed by code consuming boto3. This creates a new type dynamically which is why static type annotations don't work:
Seems like the stubs could be auto generated for most combinations if someone did the work -- I'm willing to do the work if there is interest in keeping it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @garrypolley thanks for reaching out. We are tracking a feature request related to this here: boto/boto3#1055. I just brought this up for discussion with the team and can share the following update:
There is some discussion in boto/boto3#1055 regarding the challenges of officially supporting type annotations. I don't know the full extent of the technical challenges on this front — but I do think development time and effort are a factor in why this isn't going to get prioritized in the current of boto3 (but potentially in the next major version as mentioned above). |
Beta Was this translation helpful? Give feedback.
Hi @garrypolley thanks for reaching out. We are tracking a feature request related to this here: boto/boto3#1055.
I just brought this up for discussion with the team and can share the following update:
There is some discussion in boto/boto3#1055 regarding the challenges of officially supporting type annotations. I don't know the full extent of the technical chall…