class_docstr: Emulates the properties of the ray._private.worker object for the client
class_docstr_tok: ["Emulates","the","properties","of","the","ray._private.worker","object","for","the","client"]
code: def __init__(self, worker):
      assert worker is not None
      self.worker = worker
  
file_path: ray/python/ray/util/client/runtime_context.py
imports: from typing import TYPE_CHECKING
  from types import SimpleNamespace
label_desc: Use image node_id 1 to create a new _ClientWorkerPropertyAPI object  with example: obj = _ClientWorkerPropertyAPI(worker)