From 27c68262b006447a2cd2ea60d81f4a40d541ae1a Mon Sep 17 00:00:00 2001 From: Justin Su Date: Wed, 7 Aug 2024 09:32:14 -0400 Subject: [PATCH] Add type parameters for some generic types (#951) Forgot about this `Callable` --- src/apscheduler/_schedulers/async_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")