api_exception.py 文件源码

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

项目:TopChef 作者: TopChef 项目源码 文件源码
def api_exceptions(
        draw,
        status_codes=integers(min_value=400, max_value=599),
        titles=text(),
        details=text()
) -> APIExceptionInterface:
    return _APIException(
        draw(status_codes), draw(titles), draw(details)
    )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号