diff --git a/src/py/flwr/client/app.py b/src/py/flwr/client/app.py index cb38cc5146b5..0005f511e086 100644 --- a/src/py/flwr/client/app.py +++ b/src/py/flwr/client/app.py @@ -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. @@ -465,7 +466,7 @@ def start_numpy_client( "the `.to_client()` method as shown below: \n" "\tflwr.client.start_client(\n" "\t\tserver_address=':',\n" - "\t\tclient=FlowerClient().to_client()," + "\t\tclient=FlowerClient().to_client()," " # <-- where FlowerClient is of type flwr.client.NumPyClient object\n" "\t)", DeprecationWarning,