• 请不要在回答技术问题时复制粘贴 AI 生成的内容
tangkikodo
V2EX  ›  程序员

pydantic-resolve,一个小巧的数据组装工具库,通过声明式描述数据,可减少 50% 以上的组装代码

  •  
  •   tangkikodo · Nov 22, 2024 · 2303 views
    This topic created in 566 days ago, the information mentioned may be changed or developed.

    pydantic-resolve 是一个基于 pydantic 的轻量级封装库。

    可以大幅简化构建数据时的复杂度和工作量。 (比如 API 组合数据)

    同时支持 pydantic v1 和 v2 。

    文档:

    https://allmonday.github.io/pydantic-resolve/zh/v2/introduction/

    github:

    https://github.com/allmonday/pydantic-resolve

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2225 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:12 · PVG 00:12 · LAX 09:12 · JFK 12:12
    ♥ Do have faith in what you're doing.