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

Force kwargs in butler construction and pickling

    Details

    • Story Points:
      2
    • Team:
      Data Release Production

      Description

      It was noted on DM-19818 that the interaction between Butler construction and pickling is quite fragile due to overuse of positional arguments.  We should consider forcing kwargs for everything past the first positional argument to Butler.__init__, but this will require a change to pickling, which relies on __reduce__ and hence requires positional arguments.  Using __getnewargs_ex__ may be an alternative

        Attachments

          Issue Links

            Activity

            Hide
            jbosch Jim Bosch added a comment -

            I've done this work on DM-21246; closing as invalid.

            Show
            jbosch Jim Bosch added a comment - I've done this work on DM-21246 ; closing as invalid.

              People

              • Assignee:
                Unassigned
                Reporter:
                jbosch Jim Bosch
                Watchers:
                Jim Bosch, Nate Lust, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel