Uploaded image for project: 'Data Model'
  1. Data Model
  2. DAMD-36

mutable default arguments

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Labels:
      None

      Description

      Some method definitions use mutable as default values. As far as i can see, the "append" anti-pattern (https://docs.quantifiedcode.com/python-anti-patterns/correctness/mutable_default_value_as_argument.html) is not wanted here.

        Attachments

          Activity

            People

            • Assignee:
              gpernot Guillaume PERNOT
              Reporter:
              gpernot Guillaume PERNOT
              Reviewers:
              price
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: