models.map_reduce_instance module¶
-
class
models.map_reduce_instance.
MapReduceInstance
(id=None, input_params=None, input_spec=None, map_reduce_info_id=None, output_spec=None, run_info=None)[source]¶ Bases:
object
Implementation of the ‘MapReduceInstance’ model.
Information about a Map reduce instance. An instance can be run only once.
- Attributes:
id (int|long): System generated ID of map reduce instance. input_params (list of MapReduceInstance_InputParam): TODO:
Add description here.
input_spec (InputSpec): Input spec for the MR. map_reduce_info_id (int): ID of Map reduce info. output_spec (OutputSpec): Output spec for the MR. run_info (MapReduceInstance_RunInfo): Information about run of this
- instance. All fields of RunInfo will be populated b
yoda/analytics components.
-
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.