[api] Initial API deprecations for Ray 1.0 (#10325)

This commit is contained in:
Eric Liang
2020-08-28 15:03:50 -07:00
committed by GitHub
parent 9c25ca6f5e
commit 519354a39a
75 changed files with 223 additions and 2414 deletions
+5 -8
View File
@@ -80,12 +80,11 @@ from ray.state import (jobs, nodes, actors, objects, timeline,
available_resources) # noqa: E402
from ray.worker import ( # noqa: F401
LOCAL_MODE, SCRIPT_MODE, WORKER_MODE, IO_WORKER_MODE, cancel, connect,
disconnect, get, get_actor, get_gpu_ids, get_resource_ids, get_webui_url,
init, is_initialized, put, kill, register_custom_serializer, remote,
shutdown, show_in_webui, wait,
disconnect, get, get_actor, get_gpu_ids, get_resource_ids,
get_dashboard_url, init, is_initialized, put, kill, remote, shutdown,
show_in_dashboard, wait,
) # noqa: E402
import ray.internal # noqa: E402
import ray.projects # noqa: E402
# We import ray.actor because some code is run in actor.py which initializes
# some functions in the worker.
import ray.actor # noqa: F401
@@ -113,7 +112,7 @@ __all__ = [
"get_actor",
"get_gpu_ids",
"get_resource_ids",
"get_webui_url",
"get_dashboard_url",
"init",
"internal",
"is_initialized",
@@ -127,12 +126,10 @@ __all__ = [
"objects",
"object_transfer_timeline",
"profile",
"projects",
"put",
"register_custom_serializer",
"remote",
"shutdown",
"show_in_webui",
"show_in_dashboard",
"timeline",
"util",
"wait",