nvflare.edge.filters.add_update_header module

class AddUpdateHeader[source]

Bases: Filter

Init FLComponent.

The FLComponent is the base class of all FL Components. (executors, controllers, responders, filters, aggregators, and widgets are all FLComponents)

FLComponents have the capability to handle and fire events and contain various methods for logging.

process(shareable: Shareable, fl_ctx: FLContext) Shareable[source]

Filter process applied to the Shareable object.

Parameters:
  • shareable – shareable

  • fl_ctx – FLContext

Returns:

a Shareable object