nvflare.private.fed.client.client_aux_runner module

class ClientAuxRunner[source]

Bases: AuxRunner

ClientAuxRunner to send the aux messages to the server.

Note: The ClientEngine must create a new ClientAuxRunner object for each RUN, and make sure it is added as an event handler!

To init the ClientAuxRunner.

handle_event(event_type: str, fl_ctx: FLContext)[source]

Handles events.

Parameters
  • event_type (str) – event type fired by workflow.

  • fl_ctx (FLContext) – FLContext information.

send_aux_request(topic: str, request: Shareable, timeout: float, fl_ctx: FLContext) Shareable[source]