SDK models have drifted from the API spec

未关闭 适合新手
#362 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
api

调研方向

阅读 CONTRIBUTING.md 中的“Keeping models in sync with the API”,然后运行 uv run python scripts/check_spec_drift.py,检查针对 UpdateDestinationConnector 和 UpdateSourceConnector 报告的差异。在 SDK 模型中处理新增差异,再使用 --update-baseline 重新运行检查,以记录未覆盖的差异并删除过时条目;当检查报告预期的 baseline,且不包含这些新增的未覆盖条目时,即为完成。

由索引模型根据 Issue 内容生成。

描述

https://github.com/Unstructured-IO/unstructured-python-client/actions/runs/40341070385

uv run python scripts/check_spec_drift.py
New drift: UpdateDestinationConnector is missing key
New drift: UpdateSourceConnector is missing key

Cover new drift in the SDK models, then run with --update-baseline to record any drift left uncovered and drop stale entries.

See CONTRIBUTING.md, "Keeping models in sync with the API".

主要语言
Python
星标
120
派生
22
平均合并
2 天 3 小时
30 天内合并 PR
6

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Unstructured-IO/unstructured-python-client 的其他 Issue

查看 Unstructured-IO/unstructured-python-client 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。