Skip to content

feat(annotated): allow honoring Enum _missing_ and support Enum | Enum#1694

Merged
tleonhardt merged 2 commits into
mainfrom
feat/annotated-enum-allow-unknown-entry
Jun 16, 2026
Merged

feat(annotated): allow honoring Enum _missing_ and support Enum | Enum#1694
tleonhardt merged 2 commits into
mainfrom
feat/annotated-enum-allow-unknown-entry

Conversation

@KelvinChung2000

Copy link
Copy Markdown
Contributor

close #1686

@KelvinChung2000 KelvinChung2000 marked this pull request as draft June 15, 2026 19:30
@KelvinChung2000 KelvinChung2000 force-pushed the feat/annotated-enum-allow-unknown-entry branch from fb0115f to 8cf8d62 Compare June 15, 2026 19:36
@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.59%. Comparing base (ec22b82) to head (4d10c42).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1694   +/-   ##
=======================================
  Coverage   99.59%   99.59%           
=======================================
  Files          23       23           
  Lines        5712     5746   +34     
=======================================
+ Hits         5689     5723   +34     
  Misses         23       23           
Flag Coverage Δ
unittests 99.59% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@KelvinChung2000 KelvinChung2000 marked this pull request as ready for review June 15, 2026 20:08
@tleonhardt tleonhardt merged commit 49a176a into main Jun 16, 2026
29 checks passed
@tleonhardt tleonhardt deleted the feat/annotated-enum-allow-unknown-entry branch June 16, 2026 14:18
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.

Support Union of Enum and/or Literal in annotations for with_annotated decorator

2 participants