models.analyse_jar_result module

class models.analyse_jar_result.AnalyseJarResult(error=None, mappers=None, reducers=None)[source]

Bases: object

Implementation of the ‘AnalyseJarResult’ model.

Attributes:

error (ErrorProto): Status code of http rpc. mappers (list of string): Name of all mapper classes found in jar

file.

reducers (list of string): Name of all reducers classes found in jar

file.

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.