mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 14:23:38 +08:00
mock cloudpickle module to allow readthedocs to work (#279)
This commit is contained in:
committed by
Philipp Moritz
parent
f2c43bec87
commit
7565309d6e
+1
-1
@@ -18,7 +18,7 @@ import shlex
|
||||
|
||||
# These 4 lines added to enable ReadTheDocs to work.
|
||||
import mock
|
||||
MOCK_MODULES = ["libraylib", "IPython", "numpy", "typing", "funcsigs", "subprocess32", "protobuf", "colorama", "graphviz", "ray.internal.graph_pb2"]
|
||||
MOCK_MODULES = ["libraylib", "IPython", "numpy", "typing", "funcsigs", "subprocess32", "protobuf", "colorama", "graphviz", "cloudpickle", "ray.internal.graph_pb2"]
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = mock.Mock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user