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

Keep module in name when getting the "qualname" #606

Merged
merged 3 commits into from
Mar 20, 2022

Conversation

muellerzr
Copy link
Contributor

Closes #603

Previous behavior was to disregard the library if we had a typing such as typing.Union[int, float]. But due to the fact these can be nested (such as Union[List[str],str] would be, typing.Union[typing.List[str], str]), it's better to just keep the library / module inside it.

cc @jph00

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jph00 jph00 merged commit 5aee384 into fastai:master Mar 20, 2022
@hamelsmu hamelsmu added bug Something isn't working documentation Improvements or additions to documentation labels Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Union type produces unreadable docstring results using show_doc
3 participants