Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metahandler Union added #184

Merged
merged 3 commits into from
May 9, 2024
Merged

Metahandler Union added #184

merged 3 commits into from
May 9, 2024

Conversation

eduardo-imadeira
Copy link
Collaborator

@eduardo-imadeira eduardo-imadeira commented May 9, 2024

added the metahandler Union to support for example:

var: Union[Annotated[int, IntRange(0,10)], Annotated[int, IntRange(20, 30)]]

so the variable can hold integers within the range of 0 to 10 or within the range of 20 to 30.

@eduardo-imadeira eduardo-imadeira requested a review from alcides May 9, 2024 13:51
@alcides
Copy link
Owner

alcides commented May 9, 2024

The tests are not passing on GA, nor in my machine (they get stuck on the fifth test in ind_gen_test).

Copy link

codecov bot commented May 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.96%. Comparing base (76ac84f) to head (ab843e5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #184      +/-   ##
==========================================
+ Coverage   85.88%   85.96%   +0.08%     
==========================================
  Files          83       83              
  Lines        4201     4226      +25     
==========================================
+ Hits         3608     3633      +25     
  Misses        593      593              

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

@alcides alcides merged commit 6340ca8 into main May 9, 2024
13 checks passed
@alcides alcides deleted the union_mh branch September 17, 2024 13:40
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