Return a Ray RuntimeContext describing the state on the server Returns: A RuntimeContext wrapping a client making get_cluster_info calls.
(self)
| 326 | ) |
| 327 | |
| 328 | def get_runtime_context(self): |
| 329 | """Return a Ray RuntimeContext describing the state on the server |
| 330 | |
| 331 | Returns: |
| 332 | A RuntimeContext wrapping a client making get_cluster_info calls. |
| 333 | """ |
| 334 | return _ClientWorkerPropertyAPI(self.worker).build_runtime_context() |
| 335 | |
| 336 | # Client process isn't assigned any GPUs. |
| 337 | def get_gpu_ids(self) -> list: |