mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix typing
This commit is contained in:
parent
7d794fc523
commit
65a1659345
1 changed files with 1 additions and 2 deletions
|
|
@ -94,8 +94,7 @@ class Command(Filter):
|
|||
|
||||
|
||||
class CommandStart(Command):
|
||||
def __init__(self, deep_link: typing.Optional[str, re.Pattern] = None):
|
||||
|
||||
def __init__(self, deep_link: typing.Optional[typing.Union[str, re.Pattern]] = None):
|
||||
super(CommandStart, self).__init__(['start'])
|
||||
self.deep_link = deep_link
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue