code: def enable_dev_mode(local_env_var_enabled):
      enabled = "1" if local_env_var_enabled else "0"
      os.environ["RAY_RUNTIME_ENV_LOG_TO_DRIVER_ENABLED"] = enabled
      yield
      del os.environ["RAY_RUNTIME_ENV_LOG_TO_DRIVER_ENABLED"]
  
imports: from dataclasses import dataclass
  import dataclasses
  import json
  import logging
  import os
  import subprocess
  import sys
  import tempfile
  import time
  from pathlib import Path
  from typing import Any, Dict, List
  from unittest import mock
  import pytest
  from ray.runtime_env.runtime_env import RuntimeEnvConfig, _merge_runtime_env
  import requests
  import ray
  from ray._private.runtime_env.context import RuntimeEnvContext
  from ray._private.runtime_env.plugin import RuntimeEnvPlugin
  from ray._private.runtime_env.uri_cache import URICache
  from ray._private.runtime_env.utils import SubprocessCalledProcessError, check_output_cmd
  from ray._private.test_utils import chdir, get_error_message, get_log_sources, wait_for_condition
  from ray._private.utils import get_master_wheel_url, get_release_wheel_url, get_wheel_filename
  from ray.exceptions import RuntimeEnvSetupError
  from ray.runtime_env import RuntimeEnv
  import ray._private.ray_constants
label_desc: Use image node_id 15 for calling a global function with example usage: enable_dev_mode(local_env_var_enabled) without return types