Skip to content

Commit 43bd96d

Browse files
committed
Fix forgotten renames to DispatchApiClient
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent daead07 commit 43bd96d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ pip install frequenz-client-dispatch
2323
Here's a quick example to get you started:
2424

2525
```python
26-
from frequenz.client.dispatch import Client
26+
from frequenz.client.dispatch import DispatchApiClient
2727
import asyncio
2828

2929
async def print_dispatches():
3030
# Initialize the client
31-
client = Client(key="your_api_key", server_url="grpc://dispatch.eu-1.prod.api.frequenz.com:443")
31+
client = DispatchApiClient(key="your_api_key", server_url="grpc://dispatch.eu-1.prod.api.frequenz.com:443")
3232

3333
# List all dispatches for a specific microgrid
3434
async for page in client.list(microgrid_id=1):
@@ -39,7 +39,7 @@ async def print_dispatches():
3939
asyncio.run(print_dispatches())
4040
```
4141

42-
For detailed usage and advanced features, check out the [client documentation](https://frequenz-floss.github.io/frequenz-client-dispatch-python/latest/reference/frequenz/client/dispatch/#frequenz.client.dispatch.Client).
42+
For detailed usage and advanced features, check out the [client documentation](https://frequenz-floss.github.io/frequenz-client-dispatch-python/latest/reference/frequenz/client/dispatch/#frequenz.client.dispatch.ApiDispatchClient).
4343

4444
## 🌐 Supported Platforms
4545

0 commit comments

Comments
 (0)