Uploaded image for project: 'Request For Comments'
  1. Request For Comments
  2. RFC-380

add the Cerberus schema validation library to lsstsw

    Details

    • Type: RFC
    • Status: Implemented
    • Resolution: Done
    • Component/s: DM
    • Labels:
      None

      Description

      The fix for DM-11332 adds a Butler policy-like construct called "writeRecipe", which is a nested dictionary that must conform to a schema. The current verification iterates over keys & values in a loop that IMO will be hard to extend and debug. I'd like to add a schema validation tool to do this work instead. I'd like to Cerberus (http://docs.python-cerberus.org/en/stable/) for that, but would be open to other suggestions as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                npease Nate Pease
                Reporter:
                npease Nate Pease
                Watchers:
                John Swinbank, Jonathan Sick, Nate Pease, Tim Jenness
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Planned End:

                  Summary Panel