class_docstr: Creates ResourceManager object
  
  This class should be only created by arena instance to manage its resources.
  
  Parameters
  ----------
  arena : dalex.Arena
      Instance of Arena.
  
  Attributes
  --------
  arena : Arena
      Instance of dalex.Arena
  cache : list of Resource objects
      List of already requested resources (both calculated and in progress)
  mutex : _thread.lock
      Mutex for params, plots and resources cache. Should be common with mutex from Arena instance.
  resources : list of classes extending PlotContainer
      List of available resource classes
code: def __init__(self, arena):
      if (
          type(arena).__name__ != "Arena"
          or type(arena).__module__ != "dalex.arena.object"
      ):
          raise Exception("Invalid Arena argument")
      self.arena = arena
      self.cache = []
      self.mutex = arena.mutex
      self.resources = [
          vars(resources)[res] for res in getattr(resources, "__all__")
      ]
  
file_path: DALEX/python/dalex/dalex/arena/_resource_manager.py
imports: from ._resource import Resource
  from .None import resources
label_desc: Use image node_id 1 to create a new ResourceManager object  with example: obj = ResourceManager(arena)