Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorvaladi committed Oct 8, 2024
1 parent 3b5a144 commit cfac8a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion fedn/network/clients/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ def process_request(self):
if task_type == "train":
tic = time.time()
self.state = ClientState.training
client_config = json.loads(request.data)["client_config"]
client_config = json.loads(request.data).get("client_config", {})
model_id, meta = self._process_training_request(request.model_id, session_id=request.session_id, client_config=client_config)

if meta is not None:
Expand Down
1 change: 0 additions & 1 deletion fedn/network/combiner/hooks/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def HandleProvidedFunctions(self, request, context):
# check if aggregation is available
try:
ret = self.server_functions.aggregate(0, 0)
logger.info(f"ret : {ret}")
if ret is None:
implemented_functions["aggregate"] = False
else:
Expand Down

0 comments on commit cfac8a9

Please sign in to comment.