code: def cleanup_dir(path: str):
      try:
          shutil.rmtree(path)
      except Exception:
          return
  
file_path: sagemaker-python-sdk/tests/integ/utils.py
imports: from __future__ import absolute_import
  import logging
  import shutil
  from functools import wraps
  from botocore.exceptions import ClientError
  from tests.conftest import NO_P3_REGIONS, NO_M4_REGIONS
  from sagemaker.exceptions import CapacityError
  from sagemaker.session import Session
label_desc: Use image node_id 6 for calling a global function with example usage: cleanup_dir(path) without return types