Skip to content

Commit

Permalink
rename variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhwen committed Aug 13, 2024
1 parent 7bd14ec commit 01678a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nvflare/utils/components_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def create_classes_table_static():
from nvflare.app_common.workflows.scatter_and_gather import ScatterAndGather
from nvflare.app_common.workflows.scatter_and_gather_scaffold import ScatterAndGatherScaffold

objects = {
classes = {
ScatterAndGather,
ScatterAndGatherScaffold,
Aggregator,
Expand All @@ -59,6 +59,6 @@ def create_classes_table_static():
}

class_table = {}
for obj in objects:
class_table[obj.__name__] = obj.__module__
for item in classes:
class_table[item.__name__] = item.__module__
return class_table

0 comments on commit 01678a1

Please sign in to comment.