nvflare.fuel.utils.component_builder module
- class ComponentBuilder[source]
Bases:
ABC- is_authorizable_component_config(config_dict: dict, node=None) bool[source]
Return whether this dict should be checked by a component-build authorizer.
config_type: dictmeans the normal nested builder should pass the dict through without instantiating it. Entries under acomponentslist are different: they are later built as top-level components, and those entries require anid. Treat those explicit component-list entries as authorizable even when they setconfig_typetodictso the allow-list cannot be bypassed before the later build.