Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Achille Roussel <[email protected]>
  • Loading branch information
achille-roussel committed Apr 23, 2024
1 parent 0ad5512 commit 4b20f7f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ Python package to develop applications with the Dispatch platform.
- [Installing the Dispatch CLI](#installing-the-dispatch-cli)
- [Installing the Dispatch SDK](#installing-the-dispatch-sdk)
- [Usage](#usage)
- [Configuration](#configuration)
- [Writing Dispatch Applications](#writing-dispatch-applications)
- [Running Dispatch Applications](#running-dispatch-applications)
- [Distributed Coroutines for Python](#distributed-coroutines-for-python)
- [Writing Transactional Applications with Dispatch](#writing-transactional-applications-with-dispatch)
- [Integration with FastAPI](#integration-with-fastapi)
- [Configuration](#configuration)
- [Serialization](#serialization)
- [Examples](#examples)
- [Contributing](#contributing)
Expand Down Expand Up @@ -98,7 +99,7 @@ dispatch login

Then we are ready to run the example program we wrote above:
```console
dispatch run -- main.py
dispatch run -- python3 main.py
```

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

### Configuration

The Dispatch CLI automatically configures the SDK, so manual configuration is
usually not required when running Dispatch applications. However, in some
advanced cases, it might be useful to explicitly set configuration options.

In order for Dispatch to interact with functions remotely, the SDK needs to be
configured with the address at which the server can be reached. The Dispatch
API Key must also be set, and optionally, a public signing key should be
Expand Down
1 change: 0 additions & 1 deletion src/dispatch/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,3 @@ def do_POST(self):
self.send_header("Content-Type", "application/proto")
self.end_headers()
self.wfile.write(response.SerializeToString())
return

0 comments on commit 4b20f7f

Please sign in to comment.