nvflare.app_opt.xgboost.histogram_based_v2.sec.sec_handler module

class SecurityHandler[source]

Bases: FLComponent

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.

debug(fl_ctx: FLContext, msg: str)[source]
error(fl_ctx: FLContext, msg: str)[source]
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.

info(fl_ctx: FLContext, msg: str)[source]