Java doc: "Ray Core Walkthrough" page (#8595)

This commit is contained in:
Hao Chen
2020-07-30 11:13:38 +08:00
committed by GitHub
parent 5aba53e9b2
commit 260bc52254
6 changed files with 512 additions and 164 deletions
+2 -2
View File
@@ -111,9 +111,9 @@ Let's deploy the new version to the same endpoint. Don't forget to set
To query the backend via Python API, we can use ``serve.get_handle`` to receive
a handle to the corresponding "endpoint". To enqueue a query, you can call
``handle.remote(argument_name=argument_value)``. This call returns immediately
with a :ref:`Ray ObjectRef<ray-object-ids>`. You can call `ray.get` to retrieve
with a :ref:`Ray ObjectRef<ray-object-refs>`. You can call `ray.get` to retrieve
the result.
.. literalinclude:: ../../../../python/ray/serve/examples/doc/tutorial_batch.py
:start-after: __doc_query_handle_begin__
:end-before: __doc_query_handle_end__
:end-before: __doc_query_handle_end__