class_docstr: An object to avoid closures and have everything pickle
class_docstr_tok: ["An","object","to","avoid","closures","and","have","everything","pickle"]
code: def __init__(self, memory):
      self.memory = memory
  
imports: import os
  import hashlib
  import pickle
  import time
  import shutil
  import glob
  from ..interfaces.base import BaseInterface
  from ..pipeline.engine import Node
  from ..pipeline.engine.utils import modify_paths
label_desc: Use image node_id 1 to create a new _MemoryCallback object  with example: obj = _MemoryCallback(memory)