forked from dr-leo/pandaSDMX
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
Implement the SDMX 3.0 IM and read SDMX-ML 3.0 #135
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
khaeru
added
enh
Enhancements & new features
reader
Handle standard SDMX message types
sdmx-3.0
Support for SDMX 3.0 (2022)
labels
Jul 28, 2023
- Move further classes unchanged in SDMX 3.0.0 from .v21 to .common. - Implement Base* classes for those which are defined differently in v21 and v30. - Populate __all__ with lists of classes in the current file, only. - Use module-level __getattr__ and __dir__ for class lookup. - New ClassFinder() to implement get_class() method in each module.
…for tests of new features in the SDMX 3.0.0 IM.
- Add _VERSION module global. - Mark Reader as applying only to SDMX-ML 2.1 media types. - Modularize Reference.info_from_element. - Add Reader.Reference class attribute. - Add and use Reader.NS, .class_for_tag, and .qname delegating to the appropriate module .format.xml.{v21,v30}. - Add and use Reader.reference() to construct references. - Use classes via .model.common in some places.
Reuse features of .reader.xml.v21, with additions and overrides.
Produces numerous errors/warnings.
To be fixed while completing SDMX-JSON 2.0 support.
khaeru
changed the title
Implement the SDMX 3.0.0 information model
Implement the SDMX 3.0 IM and read SDMX-ML 3.0
Aug 3, 2023
khaeru
added a commit
that referenced
this pull request
Nov 14, 2023
2 tasks
khaeru
added a commit
that referenced
this pull request
Nov 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
sdmx.model.v30
.Many classes are moved back into
sdmx.model.common
fromsdmx.model.v21
because, on closer read of the 3.0 IM, they turn out to be identical.sdmx.reader.xml.v30
.Partly addresses #87.
PR checklist