Skip to content

Commit 7b236d2

Browse files
authored
Remove extra comma from tutorial docs (#1004)
Having a comma there means the string gets interpreted as a tuple with one string element, which would be wrong.
2 parents a6bc362 + ecbcca9 commit 7b236d2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@
3030
- Fixed a typing issue that occurs in some cases when composing formulas with constants.
3131
- Fixed a bug where sending tasks in the data sourcing actor might have not been properly awaited.
3232
- Updated the logical meter documentation to reflect the latest changes.
33+
- Fixed a bug in the code examples in the getting-started tutorial.

docs/tutorials/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ microgrid.
4444
```python
4545
async def run() -> None:
4646
# This points to the default Frequenz microgrid sandbox
47-
server_url = "grpc://microgrid.sandbox.api.frequenz.io:62060",
47+
server_url = "grpc://microgrid.sandbox.api.frequenz.io:62060"
4848

4949
# Initialize the microgrid
5050
await microgrid.initialize(
@@ -104,7 +104,7 @@ from frequenz.sdk.actor import ResamplerConfig
104104

105105
async def run() -> None:
106106
# This points to the default Frequenz microgrid sandbox
107-
server_url = "grpc://microgrid.sandbox.api.frequenz.io:62060",
107+
server_url = "grpc://microgrid.sandbox.api.frequenz.io:62060"
108108

109109
# Initialize the microgrid
110110
await microgrid.initialize(

0 commit comments

Comments
 (0)