Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Deprecate the `id_of` argument to `validators.create` and the `ID_OF` attribute on `Validator`s

オープン
#1,091 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
backend

調査の方向性

まず validators.create API と Validator.ID_OF 属性を追跡し、次に referencing の Specification オブジェクトがどのように使われているかを読みます。issue #1061 との関係と、ここで説明されている dialect と vocabulary に関する懸念を確認します。完了とは、冗長な API について、Specifications と新しい Validators の関連付けを考慮した、非推奨化または置き換えの方針が決定されていることを意味します。

索引モデルが issue の本文から書いたものです。

説明

Dialects v2 Pending Deprecation

These two are redundant with the now-anyways-needed Specification objects from referencing.

Either as part of this or some time in the future there will be a way of specifying which Specification should be associated with a new Validator, but regardless, these two objects are insufficient already today for encapsulating all the information that's needed to know how to deal with schemas for a dialect.

(#1061 is somewhat tangentially related to this).

Also somewhat related is expanding support for dialect <-> vocabulary interaction. The specification is still quite immature here and may change in the future, so there's a slight worry in creating an API that matches it too closely, but this ticket may benefit from "abandoning" jsonschema.validators.* in favor of new APIs that create dialects...

主要言語
Python
スター
5k
フォーク
694
平均マージ
1日 20時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

python-jsonschema/jsonschema のほかの issue

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

似ている issue

Python の issue をもっと見る

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

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