You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, that seems correct. One way to work around in code is:
frompathlibimportPathimportrequestsimportsdmxBBK=sdmx.Client("BBK")
# Use dry_run to get a prepared requests.Request object;# then strip off the last component for the desired URLurl=BBK.dataflow(dry_run=True).url.rstrip("all/")
# Query this URL, store in a temporary filepath=Path("temp.xml")
path.write_text(requests.get(url).text)
# Read from the temporary filemsg=sdmx.read_sdmx(path)
This issue exists to track non-standard behaviour of the BBK web service.
The service requires a non-standard
/metadata
path in the URL for non-data endpoints; i.e. data queries are frombut e.g. codelist queries must use:
.source.bbk.Source
class.The service does not properly handle the "version" path component for non-data endpoints.
.source.bbk.Source
class.Malformed URNs. Returned SDMX-ML documents include content like:
These URNs include the "package" component (here
codelist
) but are malformed because they omit the "class" component (should be.Codelist
):sdmx1
documentation.The text was updated successfully, but these errors were encountered: