Files
ray/python/ray/serve/__init__.py
T
2020-11-05 16:39:37 -06:00

18 lines
435 B
Python

from ray.serve.api import (accept_batch, Client, connect, start) # noqa: F401
from ray.serve.config import BackendConfig
from ray.serve.env import CondaEnv
# Mute the warning because Serve sometimes intentionally calls
# ray.get inside async actors.
import ray.worker
ray.worker.blocking_get_inside_async_warned = True
__all__ = [
"accept_batch",
"BackendConfig",
"CondaEnv",
"connect",
"Client",
"start",
]