Skip to content

Commit

Permalink
Merge pull request #102 from stealthrocket/dispatch.run
Browse files Browse the repository at this point in the history
migrate from stealthrocket.cloud to dispatch.run
  • Loading branch information
achille-roussel authored Mar 4, 2024
2 parents b268e72 + 42f07df commit 9a8fdcf
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Python package to develop applications with the Dispatch platform.
[fastapi]: https://fastapi.tiangolo.com/tutorial/first-steps/
[ngrok]: https://ngrok.com/
[pypi]: https://pypi.org/project/dispatch-py/
[signup]: https://docs.stealthrocket.cloud/stateful-functions/getting-started
[signup]: https://docs.dispatch.run/stateful-functions/getting-started

- [What is Dispatch?](#what-is-dispatch)
- [Installation](#installation)
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

This is the API reference for the Python SDK of Dispatch.

- Tutorials and guides: [docs.stealthrocket.cloud][docs].
- Tutorials and guides: [docs.dispatch.run][docs].
- Source: [stealthrocket/dispatch-py][github].


[docs]: https://docs.stealthrocket.cloud
[docs]: https://docs.dispatch.run
[github]: https://github.com/stealthrocket/dispatch-py
2 changes: 1 addition & 1 deletion examples/auto_retry/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example demonstrates how stateful functions automatically retry on failure.
Make sure to follow the setup instructions at
https://docs.stealthrocket.cloud/dispatch/stateful-functions/getting-started/
https://docs.dispatch.run/dispatch/stateful-functions/getting-started/
Run with:
Expand Down
6 changes: 3 additions & 3 deletions examples/getting_started/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This is the most basic example to get started with Dispatch Functions.
Follow along with the tutorial at:
https://docs.stealthrocket.cloud/dispatch/stateful-functions/getting-started/
https://docs.dispatch.run/dispatch/stateful-functions/getting-started/
The program starts a FastAPI server and initializes the Dispatch SDK that
registers one function. This function makes a dummy but durable HTTP request.
Expand All @@ -15,7 +15,7 @@
## Get a Dispatch API key
Sign up for Dispatch and generate a new API key:
https://docs.stealthrocket.cloud/stateful-functions/getting-started#creating-an-api-key
https://docs.dispatch.run/stateful-functions/getting-started#creating-an-api-key
## Create a local tunnel
Expand All @@ -41,7 +41,7 @@
-d '{}' \
-H "Authorization: Bearer $DISPATCH_API_KEY" \
-H "Content-Type: application/json" \
https://api.stealthrocket.cloud/dispatch.v1.SigningKeyService/CreateSigningKey | \
https://api.dispatch.run/dispatch.v1.SigningKeyService/CreateSigningKey | \
jq -r .key.asymmetricKey.publicKey`"
2. Start the server:
Expand Down
2 changes: 1 addition & 1 deletion examples/github_stats/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example demonstrates how to use async functions orchestrated by Dispatch.
Make sure to follow the setup instructions at
https://docs.stealthrocket.cloud/dispatch/stateful-functions/getting-started/
https://docs.dispatch.run/dispatch/stateful-functions/getting-started/
Run with:
Expand Down
2 changes: 1 addition & 1 deletion src/dispatch/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
logger = logging.getLogger(__name__)


DEFAULT_API_URL = "https://api.stealthrocket.cloud"
DEFAULT_API_URL = "https://api.dispatch.run"


class Client:
Expand Down

0 comments on commit 9a8fdcf

Please sign in to comment.