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

Improve handling of Metadata{StructureDefinition,Set} in SDMX-ML 2.1 #192

Merged
merged 45 commits into from
Sep 3, 2024

Conversation

khaeru
Copy link
Owner

@khaeru khaeru commented Aug 25, 2024

See changes to doc/whatsnew.

PR checklist

  • Checks all ✅
  • Update documentation
  • Update doc/whatsnew.rst

@khaeru khaeru added enh Enhancements & new features writer Convert objects to other formats xml SDMX-ML format reader Read file formats defined by the SDMX standards labels Aug 25, 2024
@khaeru khaeru self-assigned this Aug 25, 2024
- Stash/unstash on AttributeSet, not ReportedAttribute.
- Generate concrete subclasses of ReportedAttribute.
- Resolve references in TargetIdentifiableObject.
This was an erroneous inclusion, not part of the standard.
- Log non-identical members of DictLike.
- Log missing components in other ComponentList.
- Streamline .reader.v21._component_end()
Handle the case where the existing object is concrete, not an external
reference, but has no URN set (e.g. because not given in the source
message) by computing a URN.
- Distinguish NoWriterImplementation from NotImplementedError.
- When dispatching to a writer function for the parent class of an
  object, register that function for the child class directly.
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.95%. Comparing base (895cd7c) to head (e4d53d6).
Report is 46 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
- Coverage   98.90%   97.95%   -0.96%     
==========================================
  Files          97       97              
  Lines        7699     7839     +140     
==========================================
+ Hits         7615     7679      +64     
- Misses         84      160      +76     
Files with missing lines Coverage Δ
sdmx/dictlike.py 97.87% <100.00%> (+0.02%) ⬆️
sdmx/format/xml/v21.py 100.00% <ø> (ø)
sdmx/model/common.py 99.90% <100.00%> (+<0.01%) ⬆️
sdmx/model/v21.py 100.00% <100.00%> (ø)
sdmx/model/v30.py 100.00% <ø> (ø)
sdmx/reader/xml/common.py 100.00% <100.00%> (ø)
sdmx/reader/xml/v21.py 99.17% <100.00%> (-0.13%) ⬇️
sdmx/rest/common.py 100.00% <ø> (ø)
sdmx/testing/__init__.py 99.35% <100.00%> (+<0.01%) ⬆️
sdmx/tests/model/test_common.py 100.00% <100.00%> (ø)
... and 10 more

... and 16 files with indirect coverage changes

@khaeru khaeru linked an issue Sep 3, 2024 that may be closed by this pull request
@khaeru khaeru merged commit 8c90c2e into main Sep 3, 2024
20 checks passed
@khaeru khaeru deleted the enh/2024-W35 branch September 3, 2024 11:23
khaeru added a commit that referenced this pull request Nov 5, 2024
Parallel to change for WB_WDI in #192.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enh Enhancements & new features reader Read file formats defined by the SDMX standards writer Convert objects to other formats xml SDMX-ML format
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update base URL for WB_WDI data source
1 participant