Skip to content

Commit

Permalink
Add login servicer
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnugraha committed Sep 20, 2024
1 parent 3bbc214 commit f7f06aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/py/flwr/superexec/exec_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
StartRunResponse,
StreamLogsRequest,
StreamLogsResponse,
LoginRequest,
LoginResponse,
)

from .executor import Executor, RunTracker
Expand Down Expand Up @@ -101,6 +103,10 @@ def StreamLogs( # pylint: disable=C0103

time.sleep(1.0) # Sleep briefly to avoid busy waiting

def Login(self, request, context):
"""Start login upon request
"""


def _capture_logs(
run: RunTracker,
Expand Down

0 comments on commit f7f06aa

Please sign in to comment.