mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Fix the problem that ray.remote reference is not visible at a document. (#7311)
This commit is contained in:
parent
fb73d51d4d
commit
50145e668d
1 changed files with 0 additions and 11 deletions
|
@ -65,17 +65,6 @@ sys.path.insert(0, os.path.abspath("../../python/"))
|
|||
|
||||
import ray
|
||||
|
||||
|
||||
# Avoid @ray.remote run when doc generating
|
||||
def fake_remote(*args, **kwargs):
|
||||
def _inner_wrapper(cls_or_func):
|
||||
return cls_or_func
|
||||
|
||||
return _inner_wrapper
|
||||
|
||||
|
||||
ray.remote = fake_remote
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
# If your documentation needs a minimal Sphinx version, state it here.
|
||||
|
|
Loading…
Add table
Reference in a new issue