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
[BUG] typer.main.get_group should return a click.Group #96
Labels
Comments
This was referenced Jun 10, 2020
@tiangolo could i take this up? |
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
May 12, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
May 13, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
May 13, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
May 13, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
May 13, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
May 15, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
May 15, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
Jun 17, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
Jul 2, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
Jul 9, 2022
Resolves issue tiangolo#96.
Thank you! This should be solved in #430 , and will be available in the next release. 🤓 |
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
Jul 21, 2022
Resolves issue tiangolo#96.
Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues. |
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
Jul 31, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
Aug 7, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
Aug 8, 2022
Resolves issue tiangolo#96.
alexreg
added a commit
to alexreg/typer-cloup
that referenced
this issue
Aug 8, 2022
Resolves issue tiangolo#96.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The function
typer.main.get_group
is annotated as returning aclick.Command
which isn't wrong because aclick.Group
is aclick.Command
, but means I have to cast to group when trying to integrate with existing Click applications.To Reproduce
Steps to reproduce the behavior with a minimum self-contained file.
Replace each part with your own scenario:
main.py
with:Run mypy on this script with
mypy main.py
and it will output something likeExpected behavior
Able to drop in Typer at the top level to start slowly converting an existing Click app.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
The text was updated successfully, but these errors were encountered: