openapi.py 文件源码

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

项目:Codado 作者: corydodt 项目源码 文件源码
def representCleanOpenAPIOperation(dumper, data):
    """
    Unpack nonstandard attributes while representing an OpenAPIOperation
    """
    dct = _orderedCleanDict(data)
    if '_extended' in dct:
        for k, ext in data._extended.items():
            dct[k] = ext
        del dct['_extended']

    return dumper.represent_dict(dct)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号