Remove get_writer function and initialize writer variable in calling function #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remove the
get_writer
function and initialize theSummaryWriter
directly in thewrite_metric
function in multiple files.openfl-tutorials/deprecated/native_api/Federated_Pytorch_MNIST_Tutorial.ipynb
SummaryWriter
and replace it with aget_writer
function.get_writer
function to initialize the writer in thewrite_metric
function.openfl-workspace/experimental/workflow/AggregatorBasedWorkflow/102_aggregator_validation/src/utils.py
SummaryWriter
and replace it with aget_writer
function.get_writer
function to initialize the writer in thewrite_metric
function.openfl-workspace/experimental/workflow/AggregatorBasedWorkflow/104_keras_mnist/src/utils.py
SummaryWriter
and replace it with aget_writer
function.get_writer
function to initialize the writer in thewrite_metric
function.openfl-workspace/experimental/workflow/AggregatorBasedWorkflow/301_torch_cnn_mnist_watermarking/src/utils.py
SummaryWriter
and replace it with aget_writer
function.get_writer
function to initialize the writer in thewrite_metric
function.openfl-workspace/experimental/workflow/AggregatorBasedWorkflow/501_pytorch_tinyimagenet_transfer_learning/src/utils.py
SummaryWriter
and replace it with aget_writer
function.get_writer
function to initialize the writer in thewrite_metric
function.openfl-workspace/experimental/workflow/AggregatorBasedWorkflow/vertical_fl/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_datastore_cli/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_include_exclude/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_internalloop/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_private_attributes_initialization_with_both_options/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_private_attributes_initialization_without_callable/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_private_attributes/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_reference_with_include_exclude/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_reference/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_subset_of_collaborators/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.tests/github/experimental/workflow/AggregatorBasedWorkflow/testcase_validate_particpant_names/src/utils.py
get_writer
function.SummaryWriter
directly in thewrite_metric
function.