Skip to content

Commit

Permalink
ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
niklastheman committed May 17, 2024
1 parent 012e8ae commit f620257
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fedn/network/api/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

statestore = MongoStateStore(network_id, statestore_config["mongo_config"])
statestore.set_storage_backend(modelstorage_config)
control = Control(statestore=statestore)
control = Control(statestore=statestore)
2 changes: 1 addition & 1 deletion fedn/network/api/v1/session_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def start_session():
return jsonify({"message": "Rounds must be an integer"}), 400

session = session_store.get(session_id, use_typing=False)

session_config = session["session_config"]
model_id = session_config["model_id"]

Expand Down

0 comments on commit f620257

Please sign in to comment.