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

Improve handling of Metadata{StructureDefinition,Set} in SDMX-ML 2.1 #192

Merged
merged 45 commits into from
Sep 3, 2024

Commits on Aug 25, 2024

  1. Configuration menu
    Copy the full SHA
    3902d0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    567ab64 View commit details
    Browse the repository at this point in the history
  3. Simplify construction of elements in .writer.xml

    - Pass multiple child elements as positional args to Element(), instead
      of elem.append() or elem.extend().
    - Return created elements immediately without a local variable.
    khaeru committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    182cb37 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74aa411 View commit details
    Browse the repository at this point in the history
  5. Write .model.v21.RangePeriod

    - Write distinct tags for .v21.{Start,End}Period.
    - Simplify writing DataKeySet and MemberSelection.
    - Avoid use of typing.cast()
    khaeru committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    69ff0d3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dd260ed View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    80ce4ec View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0144946 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dfdbb09 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d097346 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    963ad87 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3f7d56e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a83efe6 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Improve .reader.xml.v21 handling of MetadataSet

    - Stash/unstash on AttributeSet, not ReportedAttribute.
    - Generate concrete subclasses of ReportedAttribute.
    - Resolve references in TargetIdentifiableObject.
    khaeru committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    70e6319 View commit details
    Browse the repository at this point in the history
  2. Store XHTMLAttributeValue contents as etree nodes

    …instead of str/bytes.
    khaeru committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    baa65bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    08e3418 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7dc758e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b2c4d2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2101deb View commit details
    Browse the repository at this point in the history
  7. Remove style="Ref" XML attribute from Item

    This was an erroneous inclusion, not part of the standard.
    khaeru committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    5bea0b2 View commit details
    Browse the repository at this point in the history
  8. Adjust logging for compare() methods

    - Log non-identical members of DictLike.
    - Log missing components in other ComponentList.
    khaeru committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    70bb5c8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    37e7f50 View commit details
    Browse the repository at this point in the history
  10. Read MetadataAttribute XML attributes

    - Streamline .reader.v21._component_end()
    khaeru committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    4e57f2f View commit details
    Browse the repository at this point in the history
  11. Improve XMLEventReader.maintainable()

    Handle the case where the existing object is concrete, not an external
    reference, but has no URN set (e.g. because not given in the source
    message) by computing a URN.
    khaeru committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    e94f080 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f5e4a7e View commit details
    Browse the repository at this point in the history
  13. Improve .writer.base.BaseWriter

    - Distinguish NoWriterImplementation from NotImplementedError.
    - When dispatching to a writer function for the parent class of an
      object, register that function for the child class directly.
    khaeru committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    111f602 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3b8ae1e View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Improve SpecimenCollection.as_params(..., marks=...)

    Match on a string path fragment (same as test case ID), rather than a
    complete path object.
    khaeru committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    2266e87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    223f788 View commit details
    Browse the repository at this point in the history
  3. Relax strict comparison of IdentifiableArtefact

    Allow non-strict comparison if self.urn is None.
    khaeru committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    879f081 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e1474dd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dd979d3 View commit details
    Browse the repository at this point in the history
  6. Add .util.ucfirst()

    khaeru committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    8d4194c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    27e35ce View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f8387b9 View commit details
    Browse the repository at this point in the history
  9. Add specific XML writers for 3 classes

     - ReportStructure
     - IdentifiableObjectTarget
     - ReportPeriodTarget
    khaeru committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    c9477b0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3667d7b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e76189e View commit details
    Browse the repository at this point in the history
  12. Refine handling of MaintainableArtefact from XML

    Handle cases where objects are included explicitly within a
    StructureMessage, but with isExternalReference="true", i.e. as
    "stubs".
    khaeru committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    73cca93 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6f82d25 View commit details
    Browse the repository at this point in the history
  14. Expand TestUNICEF.test_data

    khaeru committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    4ba06ee View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d31322f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7eea584 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    ef8d9d9 View commit details
    Browse the repository at this point in the history
  18. Add #192 to doc/whatsnew

    khaeru committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    e4d53d6 View commit details
    Browse the repository at this point in the history