code: def enable_client_mode():
      _explicitly_enable_client_mode()
      try:
          yield None
      finally:
          _explicitly_disable_client_mode()
  
file_path: ray/python/ray/_private/client_mode_hook.py
imports: import os
  import threading
  from contextlib import contextmanager
  from functools import wraps
  from ray._private.auto_init_hook import auto_init_ray
label_desc: Use image node_id 7 for calling a global function with example usage: enable_client_mode() without return types