Skip to content

Add container type handling in TypeResolver

e794006
Select commit
Loading
Failed to load commit list.
Closed

Add dynamic model generation support #2898

Add container type handling in TypeResolver
e794006
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Jan 2, 2026 in 0s

99.16% (-0.22%) compared to 4f26e46

View this Pull Request on Codecov

99.16% (-0.22%) compared to 4f26e46

Details

Codecov Report

❌ Patch coverage is 90.93079% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.16%. Comparing base (4f26e46) to head (e794006).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/datamodel_code_generator/dynamic/creator.py 85.18% 6 Missing and 10 partials ⚠️
src/datamodel_code_generator/__init__.py 62.96% 6 Missing and 4 partials ⚠️
.../datamodel_code_generator/dynamic/type_resolver.py 86.56% 4 Missing and 5 partials ⚠️
src/datamodel_code_generator/parser/base.py 66.66% 1 Missing and 1 partial ⚠️
...rc/datamodel_code_generator/dynamic/constraints.py 95.65% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2898      +/-   ##
==========================================
- Coverage   99.37%   99.16%   -0.22%     
==========================================
  Files          92       98       +6     
  Lines       16192    16667     +475     
  Branches     1915     1978      +63     
==========================================
+ Hits        16091    16528     +437     
- Misses         52       69      +17     
- Partials       49       70      +21     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.