Skip to content

Commit

Permalink
docs(framework:skip) Fix typo in docstrings (#3545)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll authored Jun 4, 2024
1 parent 39f995c commit 72244a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/py/flwr/client/client_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def _registration_error(fn_name: str) -> ValueError:
>>> def client_fn(cid) -> Client:
>>> return FlowerClient().to_client()
>>>
>>> app = ClientApp()
>>> app = ClientApp(
>>> client_fn=client_fn,
>>> )
Expand Down
4 changes: 2 additions & 2 deletions src/py/flwr/server/server_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ServerApp:
>>> server_config = ServerConfig(num_rounds=3)
>>> strategy = FedAvg()
>>>
>>> app = ServerApp()
>>> app = ServerApp(
>>> server_config=server_config,
>>> strategy=strategy,
>>> )
Expand Down Expand Up @@ -106,7 +106,7 @@ def main_decorator(main_fn: ServerAppCallable) -> ServerAppCallable:
>>> server_config = ServerConfig(num_rounds=3)
>>> strategy = FedAvg()
>>>
>>> app = ServerApp()
>>> app = ServerApp(
>>> server_config=server_config,
>>> strategy=strategy,
>>> )
Expand Down

0 comments on commit 72244a8

Please sign in to comment.