Skip to content

Conversation

damienjburks
Copy link

Addresses #329

@damienjburks
Copy link
Author

damienjburks commented Jan 16, 2022

@googlebot Could you please submit a rescan for the CLA? Thanks!
image

PiperOrigin-RevId: 379999792
Change-Id: I2594db4540cfe20820951bae479d16c167ba391a

adding code to support optional type appreviation request

Author:    Damien Burks <damien@damienjburks.com>

committing latest changes for supporting python 3.9+
Signed-off-by: Damien Burks <damien@damienjburks.com>
@damienjburks
Copy link
Author

Added that adjustment. I wasn't aware that Union could have more than 2 options, so that you for the recommendation @genos

@dbieber
Copy link
Collaborator

dbieber commented Jan 29, 2022

Thanks for the contribution! This looks good.
What Python versions does this support?

@damienjburks
Copy link
Author

@dbieber it supports python versions 3.x and up. I have not tested this with any of the python 2 versions.

Let me know if this is an issue.

@dbieber
Copy link
Collaborator

dbieber commented Apr 16, 2022

We don't need the improvement to apply to Python 2, but we do need to make sure we don't break fire for Python 2.7.

@damienjburks
Copy link
Author

@dbieber I will check into this, and attach my results to this issue. Thanks.

@dbieber dbieber changed the title adding code to support optional type appreviation request adding code to support optional type abbreviation request Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants