

@classmethod
def from_json(cls, state):
    'Creates an instance of the OutputWriter for the given json state.\n\n    Args:\n      state: The OutputWriter state as a json object (dict like).\n\n    Returns:\n      An instance of the OutputWriter configured using the values of json.\n    '
    return state(state['filename'])

dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/mapreduce/output_writers.py FileOutputWriterBase.from_json/VarMisuse@18/108 `cls`->`state`