Skip to content

Commit 4b20f7f

Browse files
PR feedback
Signed-off-by: Achille Roussel <[email protected]>
1 parent 0ad5512 commit 4b20f7f

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ Python package to develop applications with the Dispatch platform.
2121
- [Installing the Dispatch CLI](#installing-the-dispatch-cli)
2222
- [Installing the Dispatch SDK](#installing-the-dispatch-sdk)
2323
- [Usage](#usage)
24-
- [Configuration](#configuration)
24+
- [Writing Dispatch Applications](#writing-dispatch-applications)
2525
- [Running Dispatch Applications](#running-dispatch-applications)
26-
- [Distributed Coroutines for Python](#distributed-coroutines-for-python)
26+
- [Writing Transactional Applications with Dispatch](#writing-transactional-applications-with-dispatch)
2727
- [Integration with FastAPI](#integration-with-fastapi)
28+
- [Configuration](#configuration)
2829
- [Serialization](#serialization)
2930
- [Examples](#examples)
3031
- [Contributing](#contributing)
@@ -98,7 +99,7 @@ dispatch login
9899

99100
Then we are ready to run the example program we wrote above:
100101
```console
101-
dispatch run -- main.py
102+
dispatch run -- python3 main.py
102103
```
103104

104105
### Writing Transactional Applications with Dispatch
@@ -193,6 +194,10 @@ program, driven by the Dispatch SDK.
193194

194195
### Configuration
195196

197+
The Dispatch CLI automatically configures the SDK, so manual configuration is
198+
usually not required when running Dispatch applications. However, in some
199+
advanced cases, it might be useful to explicitly set configuration options.
200+
196201
In order for Dispatch to interact with functions remotely, the SDK needs to be
197202
configured with the address at which the server can be reached. The Dispatch
198203
API Key must also be set, and optionally, a public signing key should be

src/dispatch/http.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,4 +194,3 @@ def do_POST(self):
194194
self.send_header("Content-Type", "application/proto")
195195
self.end_headers()
196196
self.wfile.write(response.SerializeToString())
197-
return

0 commit comments

Comments
 (0)