Skip to content

adding code to support optional type abbreviation request#380

Open
damienjburks wants to merge 3 commits into
google:masterfrom
damienjburks:issue-329
Open

adding code to support optional type abbreviation request#380
damienjburks wants to merge 3 commits into
google:masterfrom
damienjburks:issue-329

Conversation

@damienjburks

Copy link
Copy Markdown

Addresses #329

@damienjburks

damienjburks commented Jan 16, 2022

Copy link
Copy Markdown
Author

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

Comment thread fire/inspectutils.py Outdated
Comment thread fire/inspectutils.py Outdated
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>
Comment thread fire/inspectutils.py Outdated
@damienjburks

Copy link
Copy Markdown
Author

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

@dbieber

dbieber commented Jan 29, 2022

Copy link
Copy Markdown
Collaborator

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

@damienjburks

Copy link
Copy Markdown
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

dbieber commented Apr 16, 2022

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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