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

Add syntactic sugar for ConfigFields of *DatasetConfigs

    Details

    • Templates:
    • Story Points:
      2
    • Sprint:
      DRP F18-2
    • Team:
      Data Access and Database

      Description

      As we discovered in the SuperTask conversion kickoff meeting, writing (e.g.)

      myInput = ConfigField(
          dtype=InputDatasetConfig,
          doc="Input image dataset type definition.",
          default=InputDatasetConfig(
              name="name",
              units=("Camera", "Visit", "Sensor"),
              storageClass="Exposure"
          )
      )

      is much too verbose.

      Add custom Field objects so the above can be written as

      myInput = InputDatasetField(
          doc="Input image dataset type definition.",
          name="name",
          units=("Camera", "Visit", "Sensor"),
          storageClass="Exposure")
      )

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nlust Nate Lust
                Reporter:
                jbosch Jim Bosch
                Reviewers:
                Tim Jenness
                Watchers:
                Andy Salnikov, Jim Bosch, Nate Lust, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel