Skip to content

Add AnnotationChoices for declared finite choice sets - #17

Merged
trissim merged 2 commits into
mainfrom
feat/annotation-choices
Oct 10, 2026
Merged

trissim merged 2 commits into
mainfrom
feat/annotation-choices

Conversation

@trissim

@trissim trissim commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Lockstep with OpenHCS surface G1 (axis family). AnnotationChoices is Annotated metadata declaring the values a field may hold; annotation validation enforces it and validates type[X] by subclass; declared_annotation_choices and enum_input_values expose choices to form builders. Tests: tests/test_annotation_choices.py; full suite 148 passed (fork run).

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings October 10, 2026 03:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

trissim and others added 2 commits October 10, 2026 00:47
Validation checks values (and sequence items) against the declared choices and
validates type[X] annotations by subclass; enum_input_values and
declared_annotation_choices expose the choices to form builders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trissim
trissim force-pushed the feat/annotation-choices branch from fdb2f17 to 65c35df Compare October 10, 2026 04:48
@trissim
trissim merged commit c008baa into main Oct 10, 2026
12 checks passed
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