code: def reset(cls, all_or_WS):
      if all_or_WS == "stored_relations":
          cls.stored_relations = {}
      elif all_or_WS == "all":
          cls.stored_relations = {}
          atrs = [
              atr
              for atr in dir(cls)
              if not atr.startswith("__")
              and not atr == "stored_relations"
              and not callable(getattr(cls, atr))
          ]
          for atr in atrs:
              setattr(cls, atr, [])
  
file_path: deepgraph/deepgraph/connectors_and_selectors.py
imports: import inspect
  import warnings
  from collections import Counter
  import numpy
  from deepgraph._find_selected_indices import _find_selected_indices
  from deepgraph.utils import _flatten
label_desc: Use image node_id 3 for calling the CreatorFunction obj's underlying member method code with example usage: obj.reset(cls, all_or_WS) without return types