def add_to_project(self, uid, project_id):
        user, project = self._validate_user_and_project(uid, project_id)
        db.project_add_member(context.get_admin_context(),
                              project['id'],
                              user['id'])
Send a TraitListEvent to the owning object if there is one.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/auth/dbdriver.py/DbDriver.add_to_project--crossover with--dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitListObject._send_trait_items_event