-
Notifications
You must be signed in to change notification settings - Fork 2
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 Read_SDMX method #159
Add Read_SDMX method #159
Conversation
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
… their classes. Added read_sdmx method to reader Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
… content. Use ItemReference as ConceptIdentity if necessary. Fixed tests accordingly. Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
…dd-read_sdmx-convenience-method # Conflicts: # src/pysdmx/model/message.py
…es. Added get_datasets methods. Maxed code coverage in all code. Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
src/pysdmx/io/reader.py
Outdated
"""Enumeration of supported SDMX read formats.""" | ||
|
||
SDMX_ML_2_1 = "SDMX-ML 2.1" | ||
# SDMX_JSON_2 = "SDMX-JSON 2.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sosna This is a placeholder to include as well methods to read the JSON formats, still I have not found the way to implement them. Any ideas?
@@ -108,7 +109,7 @@ class Component(Struct, frozen=True, omit_defaults=True): | |||
id: str | |||
required: bool | |||
role: Role | |||
concept: Concept | |||
concept: Union[Concept, ItemReference] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sosna In order to add the compatibility to the "Concept Identity Reference", I added the tag attribute to true both here and in ItemReference. It passes all the tests, but pelase check if it may raise any future problems (As far as I could check, it should not)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @javihern98. There is a lot of work we need to do next year about formats serialization and deserialization. Is there any important reason to "rush" this now, a bit as a last minute addition, or is this something we can discuss when there is more capacity early next year?
We do not need to rush it and discuss it further after Christmas😁 |
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
…detection on SDMX-ML. Fixed tests. Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
…_datasets method. Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
…rage. Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
…ency. Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
…thod' into 156-add-read_sdmx-convenience-method
Awaiting to finish #164 before merging this |
…with mocks. Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Signed-off-by: javier.hernandez <javier.hernandez@meaningfuldata.eu>
Closing as it is included in #172 |
Summary of changes: