Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding code to support optional type abbreviation request #380

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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

fire/inspectutils.py Outdated Show resolved Hide resolved
fire/inspectutils.py Outdated Show resolved Hide resolved
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>
fire/inspectutils.py Outdated Show resolved Hide resolved
@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
Member

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
Member

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.

None yet

4 participants