Docs example: immutable Registry replacement and lookup recovery

オープン 初心者向け
#434 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
documentation

調査の方向性

リンク先のadapter、scenarios/referencingにある3つのtrace、セットアップと範囲について説明しているadapters/python-libraries/README.mdを読みます。例がRegistryの不変な置き換え、JSON pointers、未登録の参照からの復旧をどのように示しているかを確認し、Registryのドキュメントと比較します。完了条件は、upstreamの実行時依存関係を追加せずに、ドキュメントに適切な実行可能な例が含まれていることです。

索引モデルが 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時間
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

python-jsonschema/referencing のほかの issue

python-jsonschema/referencing の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。