Skip to content

Commit

Permalink
Remove unused re-used DFK default configuration object (#2864)
Browse files Browse the repository at this point in the history
The default configuration actually comes from DataFlowKernelLoader.load()
and the Config() object specified in the DataFlowKernel.__init__ default
parameters is never used, as all constructions of DataFlowKernel in the
codebase specify a config.

This comes from flake8-bugbear
  • Loading branch information
benclifford authored Aug 21, 2023
1 parent 2e158b0 commit 93a1413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsl/dataflow/dflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class DataFlowKernel:
"""

@typechecked
def __init__(self, config: Config = Config()) -> None:
def __init__(self, config: Config) -> None:
"""Initialize the DataFlowKernel.
Parameters
Expand Down

0 comments on commit 93a1413

Please sign in to comment.