File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Python package to develop applications with the Dispatch platform.
15
15
[ fastapi ] : https://fastapi.tiangolo.com/tutorial/first-steps/
16
16
[ ngrok ] : https://ngrok.com/
17
17
[ pypi ] : https://pypi.org/project/dispatch-py/
18
- [ signup ] : https://docs.stealthrocket.cloud /stateful-functions/getting-started
18
+ [ signup ] : https://docs.dispatch.run /stateful-functions/getting-started
19
19
20
20
- [ What is Dispatch?] ( #what-is-dispatch )
21
21
- [ Installation] ( #installation )
Original file line number Diff line number Diff line change 2
2
3
3
This is the API reference for the Python SDK of Dispatch.
4
4
5
- - Tutorials and guides: [ docs.stealthrocket.cloud ] [ docs ] .
5
+ - Tutorials and guides: [ docs.dispatch.run ] [ docs ] .
6
6
- Source: [ stealthrocket/dispatch-py] [ github ] .
7
7
8
8
9
- [ docs ] : https://docs.stealthrocket.cloud
9
+ [ docs ] : https://docs.dispatch.run
10
10
[ github ] : https://github.com/stealthrocket/dispatch-py
Original file line number Diff line number Diff line change 3
3
This example demonstrates how stateful functions automatically retry on failure.
4
4
5
5
Make sure to follow the setup instructions at
6
- https://docs.stealthrocket.cloud /dispatch/stateful-functions/getting-started/
6
+ https://docs.dispatch.run /dispatch/stateful-functions/getting-started/
7
7
8
8
Run with:
9
9
Original file line number Diff line number Diff line change 3
3
This is the most basic example to get started with Dispatch Functions.
4
4
5
5
Follow along with the tutorial at:
6
- https://docs.stealthrocket.cloud /dispatch/stateful-functions/getting-started/
6
+ https://docs.dispatch.run /dispatch/stateful-functions/getting-started/
7
7
8
8
The program starts a FastAPI server and initializes the Dispatch SDK that
9
9
registers one function. This function makes a dummy but durable HTTP request.
15
15
## Get a Dispatch API key
16
16
17
17
Sign up for Dispatch and generate a new API key:
18
- https://docs.stealthrocket.cloud /stateful-functions/getting-started#creating-an-api-key
18
+ https://docs.dispatch.run /stateful-functions/getting-started#creating-an-api-key
19
19
20
20
## Create a local tunnel
21
21
41
41
-d '{}' \
42
42
-H "Authorization: Bearer $DISPATCH_API_KEY" \
43
43
-H "Content-Type: application/json" \
44
- https://api.stealthrocket.cloud /dispatch.v1.SigningKeyService/CreateSigningKey | \
44
+ https://api.dispatch.run /dispatch.v1.SigningKeyService/CreateSigningKey | \
45
45
jq -r .key.asymmetricKey.publicKey`"
46
46
47
47
2. Start the server:
Original file line number Diff line number Diff line change 3
3
This example demonstrates how to use async functions orchestrated by Dispatch.
4
4
5
5
Make sure to follow the setup instructions at
6
- https://docs.stealthrocket.cloud /dispatch/stateful-functions/getting-started/
6
+ https://docs.dispatch.run /dispatch/stateful-functions/getting-started/
7
7
8
8
Run with:
9
9
Original file line number Diff line number Diff line change 15
15
logger = logging .getLogger (__name__ )
16
16
17
17
18
- DEFAULT_API_URL = "https://api.stealthrocket.cloud "
18
+ DEFAULT_API_URL = "https://api.dispatch.run "
19
19
20
20
21
21
class Client :
You can’t perform that action at this time.
0 commit comments