tefra / xsdata

Naive XML & JSON Bindings for python
https://xsdata.readthedocs.io
MIT License
310 stars 56 forks source link

fix: Reset attr types derived from empty simple types #1062

Closed tefra closed 3 weeks ago

tefra commented 3 weeks ago

📒 Description

When we process attribute types derived from simple types, that are incomplete due to a missing xsd, we should reset the type and log a warning like we do for all absent xs types.

Resolves #1059

🔗 What I've Done

Write a description of the steps taken to resolve the issue

💬 Comments

A place to write any comments to the reviewer.

🛫 Checklist

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3ad50f2) to head (6135e9a).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1062 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 115 115 Lines 9234 9238 +4 Branches 2178 2179 +1 ========================================= + Hits 9234 9238 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.