exceptions.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:narwhals 作者: alvaromlg 项目源码 文件源码
def auth_exception_handler(exc, context):
    response = exception_handler(exc, context)

    # Customized for Android
    if response is not None:
        response.data["success"] = False
        response.data["message"] = response.data["detail"]
        del response.data["detail"]

    return response
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号