Skip to content

Pydantic v2 migration - #148

Merged
eadwinCode merged 13 commits into
mainfrom
pydanticV2_support
Dec 6, 2023
Merged

Pydantic v2 migration#148
eadwinCode merged 13 commits into
mainfrom
pydanticV2_support

Conversation

@eadwinCode

@eadwinCode eadwinCode commented Nov 30, 2023

Copy link
Copy Markdown
Collaborator

What's new

  • Upgraded to Pydantic v2 and dropped all v1 reference
  • Drop black to ruff format
  • Built an adapter system between Ellar and Pydantic to easy migrations in future

@eadwinCode eadwinCode changed the title Pydantic v2 migration WIP: Pydantic v2 migration Nov 30, 2023
@eadwinCode eadwinCode changed the title WIP: Pydantic v2 migration Pydantic v2 migration Dec 4, 2023
@codecov

codecov Bot commented Dec 4, 2023

Copy link
Copy Markdown

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (abb19f4) 99.19% compared to head (d46821d) 99.53%.

Files Patch % Lines
ellar/common/responses/models/json.py 86.66% 2 Missing ⚠️
ellar/openapi/route_doc_models.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #148      +/-   ##
==========================================
+ Coverage   99.19%   99.53%   +0.34%     
==========================================
  Files         284      290       +6     
  Lines        7820     7972     +152     
==========================================
+ Hits         7757     7935     +178     
+ Misses         63       37      -26     

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

@eadwinCode
eadwinCode merged commit 4f04887 into main Dec 6, 2023
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.

1 participant