class_docstr: Generic test scenario for clusterers.
docstr: Return args for key. Can be overridden for dynamic arg generation.
  
  If overridden, must not have any side effects on self.args
      e.g., avoid assignments args[key] = x without deepcopying self.args first
  
  Parameters
  ----------
  key : str, argument key to construct/retrieve args for
  obj : obj, optional, default=None. Object to construct args for.
  deepcopy_args : bool, optional, default=True. Whether to deepcopy return.
  
  Returns
  -------
  args : argument dict to be used for a method, keyed by `key`
      names for keys need not equal names of methods these are used in
          but scripted method will look at key with same name as default
docstr_tok: ["Return","args","for","key",".","Can","be","overridden","for","dynamic","arg","generation",".","If","overridden",",","must","not","have","any","side","effects","on","self.args","e.g.",",","avoid","assignments","args","[","key","]","=","x","without","deepcopying","self.args","first","Parameters","--","--","--","--","--","key",":","str",",","argument","key","to","construct\/retrieve","args","for","obj",":","obj",",","optional",",","default=None",".","Object","to","construct","args","for",".","deepcopy_args",":","bool",",","optional",",","default=True",".","Whether","to","deepcopy","return",".","Returns","--","--","--","-","args",":","argument","dict","to","be","used","for","a","method",",","keyed","by","`","key","`","names","for","keys","need","not","equal","names","of","methods","these","are","used","in","but","scripted","method","will","look","at","key","with","same","name","as","default"]
code: def get_args(self, key, obj=None, deepcopy_args=True):
      """Return args for key. Can be overridden for dynamic arg generation.
  
      If overridden, must not have any side effects on self.args
          e.g., avoid assignments args[key] = x without deepcopying self.args first
  
      Parameters
      ----------
      key : str, argument key to construct/retrieve args for
      obj : obj, optional, default=None. Object to construct args for.
      deepcopy_args : bool, optional, default=True. Whether to deepcopy return.
  
      Returns
      -------
      args : argument dict to be used for a method, keyed by `key`
          names for keys need not equal names of methods these are used in
              but scripted method will look at key with same name as default
      """
      # use same args for predict-like functions as for predict
      if key in ["predict_proba"]:
          key = "predict"
  
      return super().get_args(
          key=key, obj=obj, deepcopy_args=deepcopy_args
      )
  
file_path: sktime/sktime/utils/_testing/scenarios_clustering.py
imports: from sktime.base import BaseObject
  from sktime.utils._testing.panel import _make_panel_X, make_clustering_problem
  from sktime.utils._testing.scenarios import TestScenario
label_desc: Use image node_id 1 for calling the ClustererTestScenario obj's underlying member method code with example usage: obj.get_args(key, obj, deepcopy_args) and returns: super