mapreduce/model.py
def to_json(self):
    """Serializes all data in this mapreduce spec into json form.

    Returns:
      data in json format.
    """
    mapper_spec = self.mapper.to_json()
    return {
        "name": self.name,
        "mapreduce_id": self.mapreduce_id,
        "mapper_spec": mapper_spec,
        "params": self.params,
    }
Serializes all data in this mapreduce spec into json form.

    Returns:
      data in json format.
    
Serializes all data in this mapreduce spec into json form.
Serializes all data in this mapreduce spec into json form .
def to_json(self):
    mapper_spec = self.mapper.to_json()
    return {
        "name": self.name,
        "mapreduce_id": self.mapreduce_id,
        "mapper_spec": mapper_spec,
        "params": self.params,
    }
def to_json ( self ) : mapper_spec = self . mapper . to_json ( ) return { "name" : self . name , "mapreduce_id" : self . mapreduce_id , "mapper_spec" : mapper_spec , "params" : self . params , }
Serializes all data in this mapreduce spec into json form.
Serializes all data in this mapreduce spec into json form .
"""Serializes all data in this mapreduce spec into json form.

    Returns:
      data in json format.
    """
data in json format.
data in json format .
self