Skip to content

Commit

Permalink
Add type parameters for some generic types (#951)
Browse files Browse the repository at this point in the history
Forgot about this `Callable`
  • Loading branch information
injust authored Aug 7, 2024
1 parent 26e5869 commit 27c6826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apscheduler/_schedulers/async_.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")


Expand Down

0 comments on commit 27c6826

Please sign in to comment.