Beispiel #1
0
 def _jsonify_many(self):
     query = Location.query.filter_by(is_deleted=False)
     return jsonify(admin_locations_schema.dump(query.all()))
Beispiel #2
0
 def _jsonify_many(self):
     query = Location.query.filter_by(is_deleted=False)
     return jsonify(admin_locations_schema.dump(query.all()))
Beispiel #3
0
 def _jsonify_one(self, location):
     return jsonify(admin_locations_schema.dump(location, many=False))
Beispiel #4
0
 def _jsonify_one(self, location):
     return jsonify(admin_locations_schema.dump(location, many=False))