From 43aa91b18266f9dd2683b74fe0b3be2c44736633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 10 Oct 2023 01:54:36 +0200 Subject: [PATCH] Use type hint not only in a comment --- qubes/devices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/devices.py b/qubes/devices.py index c97f2fa06..e12ee50de 100644 --- a/qubes/devices.py +++ b/qubes/devices.py @@ -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.