Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7178

Policy object yaml dump needs pretty formatting

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Policy objects have been able to dump to yaml for a while now but the formatting of the yaml file is really bad. It needs to be usable, readable. Refer to pre-existing paf files for reference.

        Attachments

          Activity

          Hide
          npease Nate Pease [X] (Inactive) added a comment -

          the changes to the dumper are in daf_persistence. An example of the new yaml output formatting (looks very much like the the current paf format) is in obs_test

          Show
          npease Nate Pease [X] (Inactive) added a comment - the changes to the dumper are in daf_persistence. An example of the new yaml output formatting (looks very much like the the current paf format) is in obs_test
          Hide
          tjenness Tim Jenness added a comment -

          The new formatting looks good. It's not entirely obvious to me why yaml.dump doesn't do it like this by default.

          Show
          tjenness Tim Jenness added a comment - The new formatting looks good. It's not entirely obvious to me why yaml.dump doesn't do it like this by default.

            People

            Assignee:
            npease Nate Pease [X] (Inactive)
            Reporter:
            npease Nate Pease [X] (Inactive)
            Reviewers:
            Tim Jenness
            Watchers:
            Nate Pease [X] (Inactive), Tim Jenness
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.