def assign_expr_to_admin(self, expr):
        expr.user = None
        expr.save()

    # --------------------------------------------- helper function ---------------------------------------------#
assign expr to admin to trun expr into pre_allocate_expr
dataset/ETHPy150Open msopentechcn/open-hackathon/open-hackathon-server/src/hackathon/expr/expr_mgr.py/ExprManager.assign_expr_to_admin