Skip to content

Commit f8c9cd1

Browse files
Tidy mess from initial TaskRecord implementation (#3746)
TaskRecord was merged in PR #2392 from a separate development branch, and contained some cruft which this PR removes: * a comment on checkpoint, that was a note on that development branch, not relevant to the main codebase * retries_left was removed in #1773 and has never been used in TaskRecord * fn_has was removed in #1945 and has never been used in TaskRecord ## Type of change - Code maintenance/cleanup Co-authored-by: Kevin Hunter Kesling <[email protected]>
1 parent 9750976 commit f8c9cd1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

parsl/dataflow/taskrecord.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,11 @@ class TaskRecord(TypedDict, total=False):
4343
executed on.
4444
"""
4545

46-
retries_left: int
4746
fail_count: int
4847
fail_cost: float
4948
fail_history: List[str]
5049

51-
checkpoint: bool # this change is also in #1516
50+
checkpoint: bool
5251
"""Should this task be checkpointed?
5352
"""
5453

@@ -68,7 +67,6 @@ class TaskRecord(TypedDict, total=False):
6867

6968
# these three could be more strongly typed perhaps but I'm not thinking about that now
7069
func: Callable
71-
fn_hash: str
7270
args: Sequence[Any]
7371
# in some places we uses a Tuple[Any, ...] and in some places a List[Any].
7472
# This is an attempt to correctly type both of those.

0 commit comments

Comments
 (0)