diff --git a/python/src/mapreduce/property_range.py b/python/src/mapreduce/property_range.py index 9bdf639f..7c135c34 100644 --- a/python/src/mapreduce/property_range.py +++ b/python/src/mapreduce/property_range.py @@ -232,6 +232,8 @@ def to_json(self): def from_json(cls, json): return cls(json["filters"], json["model_class_path"]) + def __repr__(self): + return "PropertyRange(%r)" % self.to_json() def _split_datetime_property(start, end, n, include_start, include_end): # datastore stored datetime precision is microsecond.