Skip to content

Fix pydantic per-row import#2107

Merged
abondar merged 2 commits intodevelopfrom
fix/pydantic-import
Feb 12, 2026
Merged

Fix pydantic per-row import#2107
abondar merged 2 commits intodevelopfrom
fix/pydantic-import

Conversation

@abondar
Copy link
Member

@abondar abondar commented Feb 12, 2026

This is optimization to not import pydantic every time, but do it once in module

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 12, 2026

Merging this PR will not alter performance

✅ 24 untouched benchmarks


Comparing fix/pydantic-import (b58b729) with develop (35c19c8)

Open in CodSpeed

@abondar abondar force-pushed the fix/pydantic-import branch from ab7505d to 3c1aedf Compare February 12, 2026 15:34
@coveralls
Copy link

Pull Request Test Coverage Report for Build 21954043176

Details

  • 8 of 11 (72.73%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 82.527%

Changes Missing Coverage Covered Lines Changed/Added Lines %
tortoise/fields/data.py 8 11 72.73%
Totals Coverage Status
Change from base Build 21945323563: 0.004%
Covered Lines: 10577
Relevant Lines: 12349

💛 - Coveralls

@abondar abondar merged commit b3109eb into develop Feb 12, 2026
25 checks passed
@abondar abondar deleted the fix/pydantic-import branch February 12, 2026 20:21
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

Comments