Skip to content

Commit

Permalink
Fix circular import.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Dec 17, 2024
1 parent cf41ed6 commit 9657944
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions law/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import luigi # type: ignore[import-untyped]
import law
from law.task.base import BaseTask
from law.logger import get_logger
from law._types import Callable

Expand Down Expand Up @@ -527,7 +526,7 @@ def patch_worker_check_complete_cached() -> None:
that, the cache entry is removed so that subsequent checks are performed as usual.
"""
def check_complete_cached(
task: BaseTask,
task: law.task.base.BaseTask,
completion_cache: multiprocessing.managers.DictProxy | None = None,
) -> bool:
# no caching behavior when no cache is given
Expand Down

0 comments on commit 9657944

Please sign in to comment.