Skip to content

Commit

Permalink
Make checkpoint parameter mandatory, rather than defaulting to mutabl…
Browse files Browse the repository at this point in the history
…e. it's already always passed a value in the only call site.
  • Loading branch information
benclifford committed Oct 29, 2023
1 parent b1a0148 commit 184d340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsl/dataflow/memoization.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class Memoizer:
"""

def __init__(self, dfk: DataFlowKernel, memoize: bool = True, checkpoint: Dict[str, Future[Any]] = {}):
def __init__(self, dfk: DataFlowKernel, memoize: bool = True, *, checkpoint: Dict[str, Future[Any]]):
"""Initialize the memoizer.
Args:
Expand Down

0 comments on commit 184d340

Please sign in to comment.