nvflare.apis.filter module¶
- exception ContentBlockedException[source]¶
Bases:
Exception
A filter should raise this exception when the content is to be blocked
- class Filter[source]¶
Bases:
FLComponent
,ABC
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.