Skip to content

Commit

Permalink
Add MSD to .rest.CLASS_NAME and test
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Sep 3, 2024
1 parent 8684b1c commit c9b2445
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sdmx/rest/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
CLASS_NAME = {
"dataflow": "DataflowDefinition",
"datastructure": "DataStructureDefinition",
"metadatastructure": "MetadataStructureDefinition",
}

# Inverse of :data:`CLASS_NAME`.
Expand Down
1 change: 1 addition & 0 deletions sdmx/tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def test_complete(module, extra):
(dict(name=Resource.conceptscheme), model.ConceptScheme),
(dict(name=Resource.contentconstraint), v21.ContentConstraint),
(dict(name=Resource.dataflow), v21.DataflowDefinition),
(dict(name=Resource.metadatastructure), v21.MetadataStructureDefinition),
(dict(name=Resource.organisationscheme), model.OrganisationScheme),
(dict(name=Resource.provisionagreement), v21.ProvisionAgreement),
pytest.param(
Expand Down

0 comments on commit c9b2445

Please sign in to comment.