code: def current_server(r):
      global _current_server
      remote = _current_server
      _current_server = r
      try:
          yield
      finally:
          _current_server = remote
  
file_path: ray/python/ray/util/client/server/server_stubs.py
imports: from contextlib import contextmanager
  from abc import ABC
  from abc import abstractmethod
label_desc: Use image node_id 1 for calling a global function with example usage: current_server(r) without return types