ovirtsdk4.service module
Classes
class Future
Instances of this class are returned for operations that specify the
wait=False
parameter.
Ancestors (in MRO)
- Future
- __builtin__.object
Methods
def __init__(
self, connection, context, code)
Creates a new future result.
connection
-
The connection to be used by this future.
context
-
The request that this future will wait for when the
wait
method is called. code
-
The function that will be executed to check the response, and to convert its body into the right type of object.
def wait(
self)
Waits till the result of the operation that created this future is available.
class Service
This is the base class for all the services of the SDK. It contains the utility methods used by all of them.
Ancestors (in MRO)
- Service
- __builtin__.object
Methods
def __init__(
self, connection, path)
Creates a new service that will use the given connection and path.