code: def shutdown_only():
      yield None
      # The code after the yield will run as teardown code.
      ray.shutdown()
      # Delete the cluster address just in case.
      ray._private.utils.reset_ray_address()
  
imports: from contextlib import contextmanager
  import ray
  import json
  import os
  import logging
  import sys
  import subprocess
  from typing import Optional, Tuple
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: shutdown_only() without return types