code: def fit(self, *args, **kwargs):
      warnings.warn(
          ".fit() will be deprecated in the future. use .run() instead.",
          DeprecationWarning,
      )
      return self.run(*args, **kwargs)
  
file_path: scikit-opt/sko/base.py
imports: from abc import ABCMeta, abstractmethod
  import types
  import warnings
label_desc: Use image node_id 2 for calling the SkoBase obj's underlying member method code with example usage: obj.fit() and returns: self