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

Read SDMX-ML returned by IMF sources #226

Open
khaeru opened this issue Feb 27, 2025 · 0 comments · May be fixed by #227
Open

Read SDMX-ML returned by IMF sources #226

khaeru opened this issue Feb 27, 2025 · 0 comments · May be fixed by #227
Assignees
Labels
bug data-source Issues related to specific web services/data source(s) reader Read file formats defined by the SDMX standards sdmx-3 Support for SDMX 3.0 (2021), 3.1 (2025), etc. xml SDMX-ML format

Comments

@khaeru
Copy link
Owner

khaeru commented Feb 27, 2025

Per https://github.com/khaeru/sdmx/pull/225#issuecomment-2687576721—

  1. Parse <AnnotationValue> in SDMX-ML 3.0.0.
  2. Whichever SDMX-ML 2.1 content triggers:
    FAILED sdmx/tests/test_sources.py::TestIMF_DATA::test_endpoint[datastructure] - sdmx.exceptions.XMLParseError: AttributeError: 'AttributeDescriptor' object has no attribute 'keys'
    
  3. Whichever SDMX-ML 2.1 content triggers:
    FAILED sdmx/tests/test_sources.py::TestIMF_DATA::test_endpoint[hierarchicalcodelist] - sdmx.exceptions.XMLParseError: KeyError: 'leveled'
    
@khaeru khaeru added bug data-source Issues related to specific web services/data source(s) reader Read file formats defined by the SDMX standards sdmx-3 Support for SDMX 3.0 (2021), 3.1 (2025), etc. xml SDMX-ML format labels Feb 27, 2025
@khaeru khaeru self-assigned this Feb 27, 2025
khaeru added a commit that referenced this issue Mar 5, 2025
- Add utility/internal property Structure._cl_fields; simplify .grouping
  and .replace_grouping.
- Flatten .group_dimensions dict-like in .grouping results.
- Partly addresses #226.
khaeru added a commit that referenced this issue Mar 5, 2025
- Use default="false" per XSD.
- Partly addresses #226.
@khaeru khaeru linked a pull request Mar 5, 2025 that will close this issue
3 tasks
khaeru added a commit that referenced this issue Mar 7, 2025
- Add utility/internal property Structure._cl_fields; simplify .grouping
  and .replace_grouping.
- Flatten .group_dimensions dict-like in .grouping results.
- Partly addresses #226.
khaeru added a commit that referenced this issue Mar 7, 2025
- Use default="false" per XSD.
- Partly addresses #226.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug data-source Issues related to specific web services/data source(s) reader Read file formats defined by the SDMX standards sdmx-3 Support for SDMX 3.0 (2021), 3.1 (2025), etc. xml SDMX-ML format
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant