Docs example: immutable Registry replacement and lookup recovery

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

还没有人认领这个 Issue。

评估

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

调研方向

阅读链接的适配器、scenarios/referencing 中的三个 trace,以及介绍设置和范围的 adapters/python-libraries/README.md。检查示例如何展示 Registry 的不可变替换、JSON pointers,以及在遇到未注册引用后的恢复,然后将其与 Registry 文档进行比较。完成标准是:文档包含合适的可运行示例,且不添加上游运行时依赖。

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

描述

I prepared an external example that keeps both the current Registry and its previous version. A trace replaces a resource, then looks up the same URI through both registries to show which version each one retains. Two more traces cover JSON pointers and recovery after an unregistered reference.

All resources are explicitly registered in memory; the adapter never retrieves them over the network.

Adapter · three traces · setup and scope · external PR #14.

Python 3.12, referencing 0.37.0; 3 traces / 12 steps. Linux, Windows and macOS CI.

The JSON runner is my external interaction-check project. Upstream would gain no runtime dependency. Would a runnable example of these observations fit the Registry documentation?

主要语言
Python
星标
56
派生
55
平均合并
5 天 22 小时
30 天内合并 PR
4

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

python-jsonschema/referencing 的其他 Issue

查看 python-jsonschema/referencing 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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