Skip to content

Commit

Permalink
removed no use constant.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhwen committed Nov 1, 2024
1 parent 49b30e4 commit 5e8c70f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion nvflare/apis/fl_constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion nvflare/private/fed/app/client/client_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion nvflare/private/fed/app/deployer/server_deployer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5e8c70f

Please sign in to comment.