Skip to content

Commit

Permalink
Merge branch 'master' into benc-mypy-str-bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
benclifford authored Nov 1, 2023
2 parents c5df028 + 70b176a commit 79fa490
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parsl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import time
from contextlib import contextmanager
from types import TracebackType
from typing import Any, Callable, List, Tuple, Union, Generator, IO, AnyStr, Dict, Optional
from typing import Any, Callable, List, Sequence, Tuple, Union, Generator, IO, AnyStr, Dict, Optional

import typeguard
from typing_extensions import Type
Expand Down Expand Up @@ -47,7 +47,7 @@ def get_version() -> str:


@typeguard.typechecked
def get_all_checkpoints(rundir: str = "runinfo") -> List[str]:
def get_all_checkpoints(rundir: str = "runinfo") -> Sequence[str]:
"""Finds the checkpoints from all runs in the rundir.
Kwargs:
Expand Down Expand Up @@ -76,7 +76,7 @@ def get_all_checkpoints(rundir: str = "runinfo") -> List[str]:


@typeguard.typechecked
def get_last_checkpoint(rundir: str = "runinfo") -> List[str]:
def get_last_checkpoint(rundir: str = "runinfo") -> Sequence[str]:
"""Finds the checkpoint from the last run, if one exists.
Note that checkpoints are incremental, and this helper will not find
Expand Down

0 comments on commit 79fa490

Please sign in to comment.