def set_relationship_level(self, user_id, value): relationship = Relationship.get_by_ids(self._db, self._id, user_id) relationship.level = value
def remove_relationship(self, user_id): relationship = Relationship.get_by_ids(self._db, self._id, user_id) relationship.remove()