Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
hooks:
- id: codespell
- repo: 'https://github.com/charliermarsh/ruff-pre-commit'
rev: v0.14.4
rev: v0.14.5
hooks:
- id: ruff
args:
Expand Down
4 changes: 3 additions & 1 deletion taps/executor/dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from concurrent.futures import Future
from typing import Any
from typing import Callable
from typing import cast
from typing import Generator
from typing import Iterable
from typing import Iterator
Expand Down Expand Up @@ -81,7 +82,8 @@ def submit(
[`Future`][concurrent.futures.Future]-like object representing \
the result of the execution of the callable.
"""
return self.client.submit(function, *args, **kwargs)
future = self.client.submit(function, *args, **kwargs)
return cast(Future[T], future)

def map(
self,
Expand Down