[docs] Fix typos in documentation (#11414)

This commit is contained in:
herve-alanaai
2020-10-16 01:00:48 +01:00
committed by GitHub
parent afd797b896
commit 436202bcfd
8 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -358,7 +358,7 @@ def start(detached: bool = False,
this to "0.0.0.0". One HTTP server will be started on each node in
the Ray cluster.
http_port (int): Port for HTTP server. Defaults to 8000.
http_middleswares (list): A list of Starlette middlewares that will be
http_middlewares (list): A list of Starlette middlewares that will be
applied to the HTTP servers in the cluster.
"""
# Initialize ray if needed.
@@ -18,4 +18,4 @@ client.create_backend("counter", Counter)
client.create_endpoint("counter", backend="counter", route="/counter")
requests.get("http://127.0.0.1:8000/counter").json()
# > {"current_counter": self.count}
# > {"current_counter": 0}