code: def get_database_handler(engine: str, **kwargs):
      handler = _get_database_handler(engine, **kwargs)
      try:
          resp = handler.connect()
          if not resp.status:
              raise ExecutorError(
                  f"Cannot establish connection due to {resp.error}"
              )
          yield handler
      finally:
          handler.disconnect()
  
imports: import importlib
  import os
  from contextlib import contextmanager
  from evadb.executor.executor_utils import ExecutorError
label_desc: Use image node_id 2 for calling a global function with example usage: get_database_handler(engine) without return types