Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add model target_namespace meta property #525

Merged
merged 1 commit into from
Jun 14, 2021
Merged

Add model target_namespace meta property #525

merged 1 commit into from
Jun 14, 2021

Conversation

tefra
Copy link
Owner

@tefra tefra commented Jun 14, 2021

Notes:
This property can bypass the module namespace, usefull.
if the target module involves more than one namespace

Priority order meta.target_namespace > module namespace > meta.namespace

@codecov
Copy link

codecov bot commented Jun 14, 2021

Codecov Report

Merging #525 (89e33a1) into master (d10e751) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #525   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           95        95           
  Lines         7645      7658   +13     
  Branches      1321      1324    +3     
=========================================
+ Hits          7645      7658   +13     
Impacted Files Coverage Δ
xsdata/formats/dataclass/context.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/generator.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/models/builders.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/models/elements.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/serializers/xml.py 100.00% <100.00%> (ø)
xsdata/utils/testing.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d10e751...89e33a1. Read the comment docs.

Notes:
This property can bypass the module namespace, usefull.
if the target module involves more than one namespace

Priority order meta.target_namespace > module namespace > meta.namespace
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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