Skip to content

Commit

Permalink
Change copy() to deepcopy()
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNew-NOAA committed Jun 13, 2024
1 parent eaafa49 commit 6b166ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wxflow/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, config: Dict, *args, **kwargs):
# Create task_config with everything that is inside _config and whatever the user chooses to
# extend it with when initializing a child subclass of Task. Only task_config should be referenced
# in any application, not _config.
self.task_config = self._config.copy()
self.task_config = self._config.deepcopy()

Check warning on line 44 in src/wxflow/task.py

View check run for this annotation

Codecov / codecov/patch

src/wxflow/task.py#L44

Added line #L44 was not covered by tests

# Any other composite runtime variables that may be needed for the duration of the task
# can be constructed here
Expand Down

0 comments on commit 6b166ba

Please sign in to comment.