You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because typer uses type-hints reflections during run-time to decide on what types arguments should be we cannot have it use future annotations.
Future annotations will become the default eventually in some Python version. This will mean that the source-code will be fragmented between versions eventually. I'm not sure if typer can even work around it.
In general if we were to change what library we use for the CLI interface, now would be a good time.
To reproduce issue run the following minimal example:
Because
typer
uses type-hints reflections during run-time to decide on what types arguments should be we cannot have it use future annotations.Future annotations will become the default eventually in some Python version. This will mean that the source-code will be fragmented between versions eventually. I'm not sure if
typer
can even work around it.In general if we were to change what library we use for the CLI interface, now would be a good time.
To reproduce issue run the following minimal example:
The text was updated successfully, but these errors were encountered: