Skip to content

Commit

Permalink
Set address
Browse files Browse the repository at this point in the history
  • Loading branch information
chongshenng committed Aug 15, 2024
1 parent 1a48975 commit cd3b888
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/py/flwr/client/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
from .numpy_client import NumPyClient
from .process.clientappio_servicer import ClientAppIoServicer

ADDRESS_CLIENTAPPIO_API_GRPC_RERE = "0.0.0.0:9094"


def _check_actionable_client(
client: Optional[Client], client_fn: Optional[ClientFnExt]
Expand Down Expand Up @@ -674,7 +676,7 @@ def signal_handler(sig, frame): # type: ignore


def run_clientappio_api_grpc(
address: str = "0.0.0.0:9094",
address: str = ADDRESS_CLIENTAPPIO_API_GRPC_RERE,
) -> Tuple[grpc.Server, grpc.Server]:
"""Run ClientAppIo API (gRPC-rere)."""
clientappio_servicer: grpc.Server = ClientAppIoServicer()
Expand Down

0 comments on commit cd3b888

Please sign in to comment.