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

Replace PropertySet.get with getScalar or getArray

    Details

    • Templates:
    • Story Points:
      1
    • Sprint:
      Arch 2019-05-20
    • Team:
      Architecture

      Description

      DM-19873 is changing the API of PropertySet.get() such that it will now return a default value rather than raising KeyError. Before that can happen, all extant calls to get() must be replaced to avoid any surprises.

      The approach I will take is to change get() so that it always throws an exception and then wait for tests to fail. This may lead to some remaining usage of get() in code that is not used.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tjenness Tim Jenness
                Reporter:
                tjenness Tim Jenness
                Reviewers:
                Russell Owen
                Watchers:
                Kian-Tat Lim, Russell Owen, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel