mapreduce/model.py
def from_json(cls, json):
    """Creates MapperSpec from a dict-like object."""
    return cls(json["mapper_handler_spec"],
               json["mapper_input_reader"],
               json["mapper_params"],
               json["mapper_shard_count"])
Creates MapperSpec from a dict-like object.
Creates MapperSpec from a dict-like object.
Creates MapperSpec from a dict - like object .
def from_json(cls, json):
    return cls(json["mapper_handler_spec"],
               json["mapper_input_reader"],
               json["mapper_params"],
               json["mapper_shard_count"])
def from_json ( cls , json ) : return cls ( json [ "mapper_handler_spec" ] , json [ "mapper_input_reader" ] , json [ "mapper_params" ] , json [ "mapper_shard_count" ] )
Creates MapperSpec from a dict-like object.
Creates MapperSpec from a dict - like object .
"""Creates MapperSpec from a dict-like object."""
cls
json