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

misc: use default-valued type elements for constrs #3821

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

superlopuh
Copy link
Member

Turns out that we can use typing_etensions for default values, leeting us have simpler helpers that leverage more advanced type system things.

@superlopuh superlopuh added the misc Miscellaneous label Feb 2, 2025
@superlopuh superlopuh self-assigned this Feb 2, 2025
Copy link

codecov bot commented Feb 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.25%. Comparing base (3a9e8b3) to head (78703ab).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3821      +/-   ##
==========================================
- Coverage   91.25%   91.25%   -0.01%     
==========================================
  Files         461      461              
  Lines       57560    57630      +70     
  Branches     5549     5567      +18     
==========================================
+ Hits        52526    52589      +63     
- Misses       3609     3613       +4     
- Partials     1425     1428       +3     

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

Copy link
Collaborator

@math-fehr math-fehr left a comment

Choose a reason for hiding this comment

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

That's quite nice indeed!

@superlopuh superlopuh merged commit 58567fc into main Feb 2, 2025
16 checks passed
@superlopuh superlopuh deleted the sasha/misc/use-default-valued-type-elements branch February 2, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc Miscellaneous
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants