models.app_run_history module

class models.app_run_history.AppRunHistory(app_info=None, mr_instances=None)[source]

Bases: object

Implementation of the ‘AppRunHistory’ model.

AppRunHistory is the struct containing the run information of the application instances. An application instance can be run only once. Each run of the application creates a new application instance.

Attributes:
app_info (MapReduceInfo): AppInfo is the information about the map

reduce application.

mr_instances (list of MapReduceInstanceWrapper): InstancesWrapper is

the slice containing the information about the map reduce application instances.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.