summaryrefslogtreecommitdiff
path: root/libvirt-override-virStoragePool.py
diff options
context:
space:
mode:
authorPhilipp Hahn <hahn@univention.de>2018-11-20 08:59:35 +0100
committerDaniel Berrange <berrange@redhat.com>2020-08-18 09:48:25 +0000
commitabbd47f4ea1736a2d9eaf50b157cdfcd69dfffb9 (patch)
tree79d8db608e01b83bc9f4fbb7ceba389e2301d5dc /libvirt-override-virStoragePool.py
parent67af8b910b62de6542e15d68c8dd5a275cf77f55 (diff)
downloadlibvirt-python-abbd47f4ea1736a2d9eaf50b157cdfcd69dfffb9.tar.gz
override: Add manual PEP 484 type annotations
Signed-off-by: Philipp Hahn <hahn@univention.de>
Diffstat (limited to 'libvirt-override-virStoragePool.py')
-rw-r--r--libvirt-override-virStoragePool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override-virStoragePool.py b/libvirt-override-virStoragePool.py
index 8bd5745..669df3e 100644
--- a/libvirt-override-virStoragePool.py
+++ b/libvirt-override-virStoragePool.py
@@ -1,4 +1,4 @@
- def listAllVolumes(self, flags=0):
+ def listAllVolumes(self, flags: int = 0) -> List['virStorageVol']:
"""List all storage volumes and returns a list of storage volume objects"""
ret = libvirtmod.virStoragePoolListAllVolumes(self._o, flags)
if ret is None: