def _process(self, attributes): update_room_attributes(self.room, attributes) return jsonify(room_attribute_values_schema.dump(self.room.attributes))
def _process(self): return jsonify(room_attribute_values_schema.dump(self.room.attributes))
def _process(self): return jsonify(room_attribute_values_schema.dump(self.room.attributes))
def _process(self, attributes): update_room_attributes(self.room, attributes) return jsonify(room_attribute_values_schema.dump(self.room.attributes))
def _process(self): attributes = self.room.attributes.filter(RoomAttributeAssociation.attribute.has(~RoomAttribute.is_hidden)).all() return jsonify(room_attribute_values_schema.dump(attributes))