Skip to content

Fix KeyError when models_package is not set#1219

Open
jootten wants to merge 1 commit into
tefra:mainfrom
jootten:fix-binding-model-detection
Open

Fix KeyError when models_package is not set#1219
jootten wants to merge 1 commit into
tefra:mainfrom
jootten:fix-binding-model-detection

Fix KeyError in is_binding_model when models_package is not set

44653fa
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Apr 21, 2026 in 0s

99.97% (-0.03%) compared to 00e6276

View this Pull Request on Codecov

99.97% (-0.03%) compared to 00e6276

Details

Codecov Report

❌ Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.97%. Comparing base (00e6276) to head (44653fa).

Files with missing lines Patch % Lines
xsdata/formats/dataclass/context.py 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main    #1219      +/-   ##
===========================================
- Coverage   100.00%   99.97%   -0.03%     
===========================================
  Files          116      116              
  Lines         9376     9379       +3     
  Branches      1439     1440       +1     
===========================================
+ Hits          9376     9377       +1     
- Misses           0        1       +1     
- Partials         0        1       +1     

☔ 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.