Skip to content

Commit

Permalink
Update src/py/flwr/server/superlink/linkstate/sqlite_linkstate.py
Browse files Browse the repository at this point in the history
Co-authored-by: Heng Pan <[email protected]>
  • Loading branch information
jafermarq and panh99 authored Nov 6, 2024
1 parent 41c37fc commit 13761ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/flwr/server/superlink/linkstate/sqlite_linkstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ def get_federation_options(self, run_id: int) -> Optional[ConfigsRecord]:
"""Retrieve the federation options for the specified `run_id`."""
# Convert the uint64 value to sint64 for SQLite
sint64_run_id = convert_uint64_to_sint64(run_id)
query = "SELECT * FROM run WHERE run_id = ?;"
query = "SELECT federation_options FROM run WHERE run_id = ?;"
rows = self.query(query, (sint64_run_id,))

# Check if the run_id exists
Expand Down

0 comments on commit 13761ba

Please sign in to comment.