diff --git a/src/apscheduler/_schedulers/async_.py b/src/apscheduler/_schedulers/async_.py index 298fc4c8..28ba04c5 100644 --- a/src/apscheduler/_schedulers/async_.py +++ b/src/apscheduler/_schedulers/async_.py @@ -81,7 +81,7 @@ _microsecond_delta = timedelta(microseconds=1) _zero_timedelta = timedelta() -TaskType: TypeAlias = "Task | str | Callable" +TaskType: TypeAlias = "Task | str | Callable[..., Any]" T = TypeVar("T")