models.map_reduce_instance_wrapper module¶
-
class
models.map_reduce_instance_wrapper.
MapReduceInstanceWrapper
(log_path=None, mr_instance=None, output_file_path_list=None)[source]¶ Bases:
object
Implementation of the ‘MapReduceInstanceWrapper’ model.
MapReduceInstanceWrapper is the struct containing the map reduce instance information along with the output file path information required to download the results set.
- Attributes:
- log_path (string): LogPath is the path of the log files for the MR
instance run.
- mr_instance (MapReduceInstance): InstanceInfo is the information about
the map reduce application instance.
- output_file_path_list (list of string): OutputFilePathList is the list
containing the output files path suffix that Yoda uses to build the full path of the MR instance run output files.
-
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.