8000 ✨Adds the ability to use union in type signatures by arielf212 · Pull Request #1148 · fastapi/typer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

✨Adds the ability to use union in type signatures #1148

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

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

Conversation

arielf212
Copy link
@arielf212 arielf212 commented Feb 7, 2025

This PR adds the ability to use real unions (a la Union[int, str]), as requested in #461.

I am new to contributing to this Repository, and I'll happily add anything I might have missed (docs/tests/incorrect code location/etc).

@arielf212 arielf212 marked this pull request as draft February 7, 2025 13:44
@arielf212
Copy link
Author

I am setting this to draft for now since I have no idea whether what I did is enough, I'll happily convert this to a merge request once someone will give me the OK.

@svlandeg svlandeg added the feature New feature, enhancement or request label Feb 7, 2025
@arielf212 arielf212 marked this pull request as ready for review February 7, 2025 17:40
@arielf212
Copy link
Author

@svlandeg I don't mean to be rude, but is there any progress on getting this in?
I haven't been able to find any docs talking about a release cycle, or anything else of sort.

@svlandeg
Copy link
Member

Hi @arielf212, thanks for your contribution adding this feature and an appropriate test! 🙏

We're currently working through a bit of a backlog of PRs, so unfortunately it may take a little while to get this properly reviewed by the team. We've put it on our internal board though, so we'll let you know here once we've been able to go through it in detail. Thanks for your patience!

@svlandeg
Copy link
Member

In the meantime, what would be helpful is if you can update the test suite to test all new lines of code, so that the coverage of the code base is back to 100% and the CI goes green again 🙏

@a3ng7n
Copy link
a3ng7n commented May 8, 2025

can outside folks contribute to this pr? I'd be happy to take a stab at writing the rest of the tests if that helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature, enhancement or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0