def remove_role(self, uid, role, project_id=None):
        if not project_id:
            db.user_remove_role(context.get_admin_context(), uid, role)
            return
        db.user_remove_project_role(context.get_admin_context(),
                                    uid, project_id, role)
'AM' or 'PM'
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/auth/dbdriver.py/DbDriver.remove_role--crossover with--dataset/ETHPy150Open django/django/django/utils/dateformat.py/TimeFormat.A