Skip to content

Commit

Permalink
Add two TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Apr 16, 2024
1 parent 674023d commit d70c2e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdmx/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ def get(
of different classes, or two objects of the same class with different
:attr:`~.MaintainableArtefact.maintainer` or
:attr:`~.VersionableArtefact.version`.
.. todo:: Support passing a URN.
"""
id_ = (
obj_or_id.id
Expand Down
1 change: 1 addition & 0 deletions sdmx/reader/xml/v21.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ def _structures(reader, elem):
for obj in reader.pop_all(name, subclass=True)
}

# TODO Move this to StructureMessage
# Construct string IDs
if len(set(k[0:2] for k in tmp.keys())) < len(tmp):
# Some non-unique (maintainer ID, object ID) pairs; include version
Expand Down

0 comments on commit d70c2e1

Please sign in to comment.