-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
Description
Summary
As the title says. argh doesn't understand typing.Sequence annotations.
To Reproduce
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])Expected behavior
Both should have the same behavior
Reactions are currently unavailable