Skip to content

Commit

Permalink
fixup! Use Sequence typing instead of Tuple specifically
Browse files Browse the repository at this point in the history
  • Loading branch information
stveit committed Sep 4, 2023
1 parent 8a027e7 commit 6f51c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/nav/portadmin/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def is_configurable(self) -> bool:
return False
return True

def get_poe_state_options(self) -> Sequence[PoeState, ...]:
def get_poe_state_options(self) -> Sequence[PoeState]:
"""Returns the available options for enabling/disabling PoE on this netbox"""
raise NotImplementedError

Check warning on line 295 in python/nav/portadmin/handlers.py

View check run for this annotation

Codecov / codecov/patch

python/nav/portadmin/handlers.py#L295

Added line #L295 was not covered by tests

Expand Down

0 comments on commit 6f51c86

Please sign in to comment.