code: def cleanup(self):
      for cleanup in self.cleanups:
          cleanup()
  
file_path: gluonts/src/gluonts/shell/sagemaker/dyn.py
imports: import os
  import shutil
  import subprocess
  import sys
  import tarfile
  import tempfile
  import zipfile
  from functools import partial
  from pathlib import Path
  from typing import Optional
  from gluonts.util import safe_extractall
label_desc: Use image node_id 2 for calling the Installer obj's underlying member method code with example usage: obj.cleanup() without return types