code: def threadpool_limits(limits=None, user_api=None):
      controller = _get_threadpool_controller()
      if controller is not None:
          return controller.limit(limits=limits, user_api=user_api)
      else:
          return threadpoolctl.threadpool_limits(
              limits=limits, user_api=user_api
          )
  
file_path: scikit-learn/sklearn/utils/fixes.py
imports: import numpy
  import scipy
  import scipy.sparse.linalg
  import scipy.stats
  import threadpoolctl
  import sklearn
  from ..externals._packaging.version import parse
  from .deprecation import deprecated
label_desc: Use image node_id 4 for calling a global function with example usage: threadpool_limits(limits, user_api) and returns: controller, threadpoolctl