Skip to content

Commit db7edaf

Browse files
committedNov 18, 2024
Some type hinting improvements
1 parent 714d8ad commit db7edaf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎src/toil/cwl/cwltoil.py

-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@
4141
IO,
4242
Any,
4343
Callable,
44-
Dict,
4544
Iterator,
46-
List,
4745
Mapping,
4846
MutableMapping,
4947
MutableSequence,

‎src/toil/job.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3791,8 +3791,8 @@ class FileMetadata(NamedTuple):
37913791
def potential_absolute_uris(
37923792
uri: str,
37933793
path: list[str],
3794-
importer: str | None = None,
3795-
execution_dir: str | None = None,
3794+
importer: Optional[str] = None,
3795+
execution_dir: Optional[str] = None,
37963796
) -> Iterator[str]:
37973797
"""
37983798
Get potential absolute URIs to check for an imported file.

0 commit comments

Comments
 (0)