Skip to content

Commit

Permalink
Functioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Hellander committed Aug 30, 2023
1 parent c5d5df3 commit c5ef76c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions fedn/fedn/network/controller/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,8 @@ def session(self, config):
return

self._state = ReducerState.instructing

<<<<<<< HEAD
# Must be called once to set info in the db
=======
# Must be called to set info in the db
config['committed_at'] = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
>>>>>>> develop
self.new_session(config)

if not self.statestore.get_latest_model():
Expand All @@ -119,10 +114,6 @@ def session(self, config):
# Execute the rounds in this session
for round in range(1, int(config['rounds'] + 1)):
# Increment the round number
<<<<<<< HEAD
=======

>>>>>>> develop
if last_round:
current_round = last_round + round
else:
Expand All @@ -145,12 +136,8 @@ def round(self, session_config, round_id):
:param session_config: The session config.
:type session_config: dict
:param round_id: The round id.
<<<<<<< HEAD
:type round_id: str
=======
:type round_id: str(int)
>>>>>>> develop
"""

self.new_round({'round_id': round_id, 'status': "Pending"})
Expand Down

0 comments on commit c5ef76c

Please sign in to comment.