[Doc] Fix RayServeHandle doc (#10896)

This commit is contained in:
architkulkarni
2020-09-18 10:29:21 -07:00
committed by GitHub
parent f37b687452
commit 102c498653
+4 -4
View File
@@ -52,12 +52,12 @@ class RayServeHandle:
Returns:
ray.ObjectRef
Input:
Args:
request_data(dict, Any): If it's a dictionary, the data will be
available in ``request.json()`` or ``request.form()``. Otherwise,
it will be available in ``request.data``.
available in ``request.json()`` or ``request.form()``.
Otherwise, it will be available in ``request.data``.
``**kwargs``: All keyword arguments will be available in
``request.args``.
``request.args``.
"""
request_metadata = RequestMetadata(
self.endpoint_name,