mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 13:44:47 +08:00
Move global state API out of global_state object. (#4857)
This commit is contained in:
committed by
Philipp Moritz
parent
ea8d7b4dc0
commit
6703519144
@@ -84,7 +84,7 @@ def run_string_as_driver_nonblocking(driver_script):
|
||||
|
||||
|
||||
def relevant_errors(error_type):
|
||||
return [info for info in ray.error_info() if info["type"] == error_type]
|
||||
return [info for info in ray.errors() if info["type"] == error_type]
|
||||
|
||||
|
||||
def wait_for_errors(error_type, num_errors, timeout=10):
|
||||
|
||||
Reference in New Issue
Block a user