1 def getConnect(self
) -> 'virConnect':
2 """Get the connection that owns the domain that a checkpoint was created for"""
5 def getDomain(self
) -> 'virDomain':
6 """Get the domain that a checkpoint was created for"""
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
)
13 raise libvirtError("virDomainCheckpointListAllChildren() failed")
15 return [virDomainCheckpoint(self
.domain(), _obj
=chkptr
) for chkptr
in ret
]