models.analyse_jar_arg module¶
-
class
models.analyse_jar_arg.
AnalyseJarArg
(jar_name=None, jar_path=None, jar_relative_path=None, save_entities=None)[source]¶ Bases:
object
Implementation of the ‘AnalyseJarArg’ model.
API to analyse a JAR file. This JAR may contain multiple mappers/reducers. Jar will be analysed and list of all mappers/reducers found in the jar will be returned.
- Attributes:
jar_name (string): Name of the JAR to be analysed. jar_path (string): Path of the jar file. jar_relative_path (string): :TODO add description here. save_entities (bool): If this flag is true, then also save mapper and
reducers in scribe.
-
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.