def _save_room(cd): room = Room() room.id = cd['id'] or None room.number = cd['number'] room.description = cd['description'] room.syndic = cd['syndic'] room.save() return room