Skip to content

README.mdからSimple Annotationの属性制約に関する説明を削除し、AttributeRestrictionValidatorクラスのドキュメントを更新。テストケースの名称を変更し、読み取り専用属性の検証を追加。 - #799

Merged
yuji38kwmt merged 2 commits into
mainfrom
3333
Nov 3, 2026
Merged

yuji38kwmt merged 2 commits into
mainfrom
3333

Conversation

@yuji38kwmt

Copy link
Copy Markdown
Collaborator

No description provided.

…atorクラスのドキュメントを更新。テストケースの名称を変更し、読み取り専用属性の検証を追加。
Copilot AI balanced review requested due to automatic review settings November 3, 2026 02:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for this change.

No open issues 🎉

What changed in this PR

Simple Annotationの属性制約検証で、読取専用属性も評価対象に変更するPRです。CanInputを評価対象外とする動作は維持しています。

変更内容:

  • 読取専用属性の制約を除外する処理を削除し、クラスの説明を更新。
  • CanInputの除外テストと読取専用属性の検証テストを分離し、属性値ごとの判定を確認。
  • READMEからSimple Annotation ZIPの属性制約検証に関する説明を削除。
File Description
tests/​util/​test_attribute_restriction_validation.py テスト名を変更し、読取専用属性の未設定・空文字・非空文字の検証を追加。
README.md 属性制約検証の説明と使用例を削除。
annofabapi/​util/​attribute_restriction_validation.py 読取専用属性を制約の評価対象に変更し、ドキュメントを更新。

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 3, 2026 02:22
@yuji38kwmt
yuji38kwmt enabled auto-merge November 3, 2026 02:23
@yuji38kwmt
yuji38kwmt merged commit 5c1cfdf into main Nov 3, 2026
10 checks passed
@yuji38kwmt
yuji38kwmt deleted the 3333 branch November 3, 2026 02:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are identified for the update to include read-only attributes in constraint validation.

No open issues 🎉

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants