mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-07-27 11:41:52 +03:00
override: Add manual PEP 484 type annotations
Signed-off-by: Philipp Hahn <hahn@univention.de>
This commit is contained in:
committed by
Daniel Berrange
parent
67af8b910b
commit
abbd47f4ea
@ -1,4 +1,4 @@
|
||||
def listAllPorts(self, flags=0):
|
||||
def listAllPorts(self, flags: int = 0) -> List['virNetworkPort']:
|
||||
"""List all ports on the network and returns a list of network port objects"""
|
||||
ret = libvirtmod.virNetworkListAllPorts(self._o, flags)
|
||||
if ret is None:
|
||||
|
Reference in New Issue
Block a user