Skip to content

Commit

Permalink
Add type parameters for some generic types
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 4e84225
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 4e84225

Please sign in to comment.