diff --git a/fedn/fedn/network/combiner/server.py b/fedn/fedn/network/combiner/server.py index cf116c053..7a9c87ff9 100644 --- a/fedn/fedn/network/combiner/server.py +++ b/fedn/fedn/network/combiner/server.py @@ -724,7 +724,6 @@ def ModelUpdateRequestStream(self, response, context): self.tracer.update_client_status(client.name, "offline") - def ModelValidationStream(self, update, context): """ Model validation stream RPC endpoint. Update status for client is connecting to stream. diff --git a/fedn/fedn/network/dashboard/restservice.py b/fedn/fedn/network/dashboard/restservice.py index 0ba31d3d1..14e7266bb 100644 --- a/fedn/fedn/network/dashboard/restservice.py +++ b/fedn/fedn/network/dashboard/restservice.py @@ -821,15 +821,15 @@ def client_status(): active_trainers_str = client["active_trainers"] active_validators_str = client["active_validators"] active_trainers_str = re.sub( - "[^a-zA-Z0-9-:\n\.]", "", active_trainers_str + "[^a-zA-Z0-9-:\n\.]", "", active_trainers_str # noqa: W605 ).replace( "name:", " " - ) # noqa: W605 + ) active_validators_str = re.sub( - "[^a-zA-Z0-9-:\n\.]", "", active_validators_str + "[^a-zA-Z0-9-:\n\.]", "", active_validators_str # noqa: W605 ).replace( "name:", " " - ) # noqa: W605 + ) all_active_trainers.extend( " ".join(active_trainers_str.split(" ")).split() )