mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-02 09:21:58 +01:00
Improve type completeness
This commit is contained in:
parent
71c0ee572c
commit
1f8e44cc7d
1 changed files with 1 additions and 1 deletions
|
@ -696,7 +696,7 @@ class JobQueue(Generic[CCT]):
|
|||
# so give it a tiny bit of time to actually shut down.
|
||||
await asyncio.sleep(0.01)
|
||||
|
||||
def jobs(self, pattern: Union[str, re.Pattern, None] = None) -> tuple["Job[CCT]", ...]:
|
||||
def jobs(self, pattern: Union[str, re.Pattern[str], None] = None) -> tuple["Job[CCT]", ...]:
|
||||
"""Returns a tuple of all *scheduled* jobs that are currently in the :class:`JobQueue`.
|
||||
|
||||
Args:
|
||||
|
|
Loading…
Reference in a new issue