setup: simplify authors list generation
[libvirt-python.git] / libvirt-override-virStoragePool.py
blobd631cd27017d732ca386ad37aed54b10482e556a
1 def listAllVolumes(self, flags: int = 0) -> List['virStorageVol']:
2 """List all storage volumes and returns a list of storage volume objects"""
3 ret = libvirtmod.virStoragePoolListAllVolumes(self._o, flags)
4 if ret is None:
5 raise libvirtError("virStoragePoolListAllVolumes() failed")
7 return [virStorageVol(self._conn, _obj=volptr) for volptr in ret]