code: def get_workers():
      """Returns the default number of workers within the current context
  
      Examples
      --------
      >>> from scipy import fft
      >>> fft.get_workers()
      1
      >>> with fft.set_workers(4):
      ...     fft.get_workers()
      4
      """
      return getattr(_config, "default_workers", 1)
  
file_path: scipy/scipy/fft/_pocketfft/helper.py
imports: from numbers import Number
  import operator
  import os
  import threading
  import contextlib
  import numpy
  from .pypocketfft import good_size
label_desc: Use image node_id 10 for calling a global function with example usage: get_workers() and returns: getattr