예제 #1
0
 def _process(self, attributes):
     update_room_attributes(self.room, attributes)
     return jsonify(room_attribute_values_schema.dump(self.room.attributes))
예제 #2
0
 def _process(self):
     return jsonify(room_attribute_values_schema.dump(self.room.attributes))
예제 #3
0
파일: admin.py 프로젝트: indico/indico
 def _process(self):
     return jsonify(room_attribute_values_schema.dump(self.room.attributes))
예제 #4
0
파일: admin.py 프로젝트: indico/indico
 def _process(self, attributes):
     update_room_attributes(self.room, attributes)
     return jsonify(room_attribute_values_schema.dump(self.room.attributes))
예제 #5
0
파일: rooms.py 프로젝트: tobiashuste/indico
 def _process(self):
     attributes = self.room.attributes.filter(RoomAttributeAssociation.attribute.has(~RoomAttribute.is_hidden)).all()
     return jsonify(room_attribute_values_schema.dump(attributes))