We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As the title says. argh doesn't understand typing.Sequence annotations.
This doesn't work:
import argh from typing import Sequence def foo(x: Sequence[str]): ... argh.dispatch_commands([foo])
but this works:
import argh def foo(x: list[str]): ... argh.dispatch_commands([foo])
Both should have the same behavior
The text was updated successfully, but these errors were encountered:
Oh maybe this is a dupe of #107
Sorry, something went wrong.
neithere
No branches or pull requests
Summary
As the title says. argh doesn't understand typing.Sequence annotations.
To Reproduce
This doesn't work:
but this works:
Expected behavior
Both should have the same behavior
The text was updated successfully, but these errors were encountered: