fix(select): fix type annotation

This commit is contained in:
Xuehai Pan 2023-03-20 13:57:07 +00:00
parent 27b573804d
commit 05284ec2f8

View file

@ -79,7 +79,7 @@ TTY = sys.stdout.isatty()
def select_devices( # pylint: disable=too-many-branches,too-many-statements,too-many-locals,unused-argument
devices: Iterable[Device] = None,
devices: Iterable[Device] | None = None,
*,
format: str = 'index', # pylint: disable=redefined-builtin
force_index: bool = False,