Skip to content

Commit

Permalink
Updated docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Hellander committed Nov 2, 2023
1 parent 9a21972 commit adca222
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions fedn/fedn/network/controller/controlbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,23 @@ def create_round(self, round_data):
self.tracer.create_round(round_data)

def set_round_data(self, round_id, round_data):
""" Upate round in backend db. """
""" Set round data.
:param round_id: The round unique identifier
:type round_id: str
:param round_data: The status
:type status: dict
"""
self.tracer.set_round_data(round_id, round_data)

def set_round_status(self, round_id, status):
""" Upate round in backend db. """
""" Set the round round stats.
:param round_id: The round unique identifier
:type round_id: str
:param status: The status
:type status: str
"""
self.tracer.set_round_status(round_id, status)

def set_round_config(self, round_id, round_config):
Expand Down

0 comments on commit adca222

Please sign in to comment.