code: def __init__(self, cache_by):
      if cache_by is not None and not isinstance(cache_by, list):
          cache_by = [cache_by]
  
      self.cache_by = cache_by
  
      BaseLongCallbackManager.managers.append(self)
  
      self.func_registry = {}
  
      # Register all funcs that were added before instantiation.
      # Ensure all celery task are registered.
      for fdetails in self.functions:
          self.register(*fdetails)
  
file_path: dash/dash/long_callback/managers/__init__.py
imports: from abc import ABC
  import inspect
  import hashlib
label_desc: Use image node_id 1 to create a new BaseLongCallbackManager object from inherited base classes: ABC with example: obj = BaseLongCallbackManager(cache_by)