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

lower case currency is valid #236

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

edasubert
Copy link
Contributor

I think "eur" should be accepted as a currency and stored as "EUR" just like basically any date in a string is accepted as (and converted to) a datetime object

Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (e186814) to head (21c1a67).
Report is 53 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##              main      #236    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           11        19     +8     
  Lines          685      1049   +364     
  Branches       169       253    +84     
==========================================
+ Hits           685      1049   +364     

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

@yezz123 yezz123 merged commit c0ad1b5 into pydantic:main Nov 13, 2024
20 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