code: def build_params(self, params={}):
          
          z = params.copy()
          z.update({'editId': self.edit_id, 'packageName': self.package_name})
          return z
docs: build a params dictionary with current editId and packageName.
  
          use optional params parameter
          to merge additional params into resulting dictionary.