Skip to content

Commit

Permalink
Use type hint not only in a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Oct 9, 2023
1 parent f9a98ab commit 43aa91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def persistent(self):
'''
return [a.device for a in self._set]

def assignments(self, persistent=None):
def assignments(self, persistent: Optional[bool]=None):
'''List assignments for devices which are (or may be) attached to the
vm.
Expand Down

0 comments on commit 43aa91b

Please sign in to comment.