ci: Install built module for testing insde an venv
[libvirt-python.git] / libvirt-override-virDomainCheckpoint.py
bloba8ba6433933da53ca3cf5a7ebf7fe43ea278de64
1 def getConnect(self) -> 'virConnect':
2 """Get the connection that owns the domain that a checkpoint was created for"""
3 return self.connect()
5 def getDomain(self) -> 'virDomain':
6 """Get the domain that a checkpoint was created for"""
7 return self.domain()
9 def listAllChildren(self, flags: int = 0) -> List['virDomainCheckpoint']:
10 """List all child checkpoints and returns a list of checkpoint objects"""
11 ret = libvirtmod.virDomainCheckpointListAllChildren(self._o, flags)
12 if ret is None:
13 raise libvirtError("virDomainCheckpointListAllChildren() failed")
15 return [virDomainCheckpoint(self.domain(), _obj=chkptr) for chkptr in ret]