Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yanchengnv committed Dec 11, 2024
1 parent 4cdb74d commit d1d4560
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,9 @@ def execute(self, task_name: str, shareable: Shareable, fl_ctx: FLContext, abort
def _prepare_task_meta(self, fl_ctx, task_name):
job_id = fl_ctx.get_job_id()
site_name = fl_ctx.get_identity_name()
auth_token = get_scope_prop(scope_name=site_name, key=FLMetaKey.AUTH_TOKEN, default="NA")
auth_token_signature = get_scope_prop(scope_name=site_name, key=FLMetaKey.AUTH_TOKEN_SIGNATURE, default="NA")

meta = {
FLMetaKey.SITE_NAME: site_name,
FLMetaKey.AUTH_TOKEN: auth_token,
FLMetaKey.AUTH_TOKEN_SIGNATURE: auth_token_signature,
FLMetaKey.JOB_ID: job_id,
ConfigKey.TASK_NAME: task_name,
ConfigKey.TASK_EXCHANGE: {
Expand Down
2 changes: 0 additions & 2 deletions nvflare/private/fed/client/communicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ def __init__(
self.token_signature = None
self.ssid = None
self.client_name = None

self.logger = logging.getLogger(self.__class__.__name__)
self.logger.info(f"==== Communicator GOT CELL: {type(cell)}")

def set_auth(self, client_name, token, token_signature, ssid):
self.ssid = ssid
Expand Down

0 comments on commit d1d4560

Please sign in to comment.