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

Convert dandiarchive URL classes from pydantic models to dataclasses #1356

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Nov 9, 2023

The classes weren't using Pydantic's validation features, so this will be slightly faster.

@jwodder jwodder added internal Changes only affect the internal API code quality Nonfunctional improvements to the codebase labels Nov 9, 2023
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cb86c9c) 89.14% compared to head (34ff697) 89.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1356   +/-   ##
=======================================
  Coverage   89.14%   89.15%           
=======================================
  Files          75       75           
  Lines       10266    10278   +12     
=======================================
+ Hits         9152     9163   +11     
- Misses       1114     1115    +1     
Flag Coverage Δ
unittests 89.15% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
dandi/consts.py 98.07% <100.00%> (-0.04%) ⬇️
dandi/dandiarchive.py 85.34% <100.00%> (+0.64%) ⬆️

... and 1 file with indirect coverage changes

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

@yarikoptic yarikoptic merged commit 18126ca into master Nov 16, 2023
25 checks passed
@yarikoptic yarikoptic deleted the archive-cls branch November 16, 2023 20:07
Copy link

🚀 PR was released in 0.58.1 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Nonfunctional improvements to the codebase internal Changes only affect the internal API released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants