Remove deprecated global state. (#6655)

This commit is contained in:
Robert Nishihara
2019-12-31 22:40:47 -08:00
committed by GitHub
parent 4150d444a1
commit 9baa002069
2 changed files with 2 additions and 60 deletions
+2 -3
View File
@@ -102,8 +102,8 @@ from ray._raylet import (
_config = _Config()
from ray.profiling import profile # noqa: E402
from ray.state import (global_state, jobs, nodes, actors, tasks, objects,
timeline, object_transfer_timeline, cluster_resources,
from ray.state import (jobs, nodes, actors, tasks, objects, timeline,
object_transfer_timeline, cluster_resources,
available_resources, errors) # noqa: E402
from ray.worker import (
LOCAL_MODE,
@@ -136,7 +136,6 @@ from ray.runtime_context import _get_runtime_context # noqa: E402
__version__ = "0.9.0.dev0"
__all__ = [
"global_state",
"jobs",
"nodes",
"actors",