Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jafermarq committed Dec 19, 2023
1 parent b5280f8 commit dfd1ba4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/py/flwr/client/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ def start_numpy_client(
"""Start a Flower NumPyClient which connects to a gRPC server.
.. deprecated:: 1.7.0
Use flwr.client.start_client() instead and pass your client of NumPyClient type
by first exectuing its .to_client method.
Expand Down Expand Up @@ -465,7 +466,7 @@ def start_numpy_client(
"the `.to_client()` method as shown below: \n"
"\tflwr.client.start_client(\n"
"\t\tserver_address='<IP>:<PORT>',\n"
"\t\tclient=FlowerClient().to_client(),"
"\t\tclient=FlowerClient().to_client(),"
" # <-- where FlowerClient is of type flwr.client.NumPyClient object\n"
"\t)",
DeprecationWarning,
Expand Down

0 comments on commit dfd1ba4

Please sign in to comment.