mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-21 06:45:24 -06:00
fix(select): fix type annotation
This commit is contained in:
parent
27b573804d
commit
05284ec2f8
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue