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

Use new typer Argument style using typing.Annotated #109

Open
lucmurer opened this issue May 30, 2023 · 0 comments
Open

Use new typer Argument style using typing.Annotated #109

lucmurer opened this issue May 30, 2023 · 0 comments
Labels
deferred Issue wil be reevaluated later enhancement New feature or request

Comments

@lucmurer
Copy link
Collaborator

Typer proposes a new argument annotation style using typing.Annotated (https://docs.python.org/3/library/typing.html?highlight=annotated#typing.Annotated), see: https://typer.tiangolo.com/tutorial/arguments/optional/#an-alternative-cli-argument-declaration

-> Note this only supported starting from Python 3.9, so we defer this for now.

@lucmurer lucmurer added enhancement New feature or request deferred Issue wil be reevaluated later labels May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deferred Issue wil be reevaluated later enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant