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

yaml dump prepends !!python/unicode to everything

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: daf_persistence
    • Labels:
      None
    • Templates:
    • Story Points:
      0.5
    • Sprint:
      DRP F17-5
    • Team:
      Data Release Production

      Description

      Calling dumpToFile on a daf_persistence.policy causes !!python/unicode to get prepended to everything. As per https://stackoverflow.com/questions/1950306/pyyaml-dumping-without-tags it seems that changing yaml.dump() to yaml.safe_dump() should fix this.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  mfisherlevine Merlin Fisher-Levine
                  Reporter:
                  mfisherlevine Merlin Fisher-Levine
                  Reviewers:
                  Kian-Tat Lim
                  Watchers:
                  Kian-Tat Lim, Merlin Fisher-Levine
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel