def down_json(self): etag_cache(get_last()) down = get_down() return {'down': [c.to_dict() for c in down]}
def up_json(self): etag_cache(get_last()) up = get_up() return {'up': [c.to_dict() for c in up]}