diff --git a/nvflare/apis/fl_constant.py b/nvflare/apis/fl_constant.py index ded560bc1a..5fcb719788 100644 --- a/nvflare/apis/fl_constant.py +++ b/nvflare/apis/fl_constant.py @@ -162,7 +162,6 @@ class FLContextKey(object): RECONNECTED_CLIENT_NAME = "_reconnected_client_name" SITE_OBJ = "_site_obj_" JOB_LAUNCHER = "_job_launcher" - COMPONENTS = "_site_components_" SNAPSHOT = "job_snapshot" CLIENT_REGISTER_DATA = "_client_register_data" diff --git a/nvflare/private/fed/app/client/client_train.py b/nvflare/private/fed/app/client/client_train.py index d21ec0cb6e..7618622ad8 100644 --- a/nvflare/private/fed/app/client/client_train.py +++ b/nvflare/private/fed/app/client/client_train.py @@ -133,7 +133,6 @@ def main(args): fl_ctx.set_prop(FLContextKey.WORKSPACE_OBJECT, workspace, private=True) fl_ctx.set_prop(FLContextKey.ARGS, args, private=True, sticky=True) fl_ctx.set_prop(FLContextKey.SITE_OBJ, federated_client, private=True, sticky=True) - fl_ctx.set_prop(FLContextKey.COMPONENTS, conf.components, private=True, sticky=True) component_security_check(fl_ctx) diff --git a/nvflare/private/fed/app/deployer/server_deployer.py b/nvflare/private/fed/app/deployer/server_deployer.py index 6bd70c8992..de17259c0c 100644 --- a/nvflare/private/fed/app/deployer/server_deployer.py +++ b/nvflare/private/fed/app/deployer/server_deployer.py @@ -126,7 +126,6 @@ def deploy(self, args): fl_ctx.set_prop(FLContextKey.WORKSPACE_OBJECT, workspace, private=True) fl_ctx.set_prop(FLContextKey.ARGS, args, private=True, sticky=True) fl_ctx.set_prop(FLContextKey.SITE_OBJ, services, private=True, sticky=True) - fl_ctx.set_prop(FLContextKey.COMPONENTS, self.components, private=True, sticky=True) services.engine.fire_event(EventType.SYSTEM_BOOTSTRAP, fl_ctx) component_security_check(fl_ctx)