mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add extra requirements
This commit is contained in:
parent
b1af865ff9
commit
b1cc68aa3b
3 changed files with 6 additions and 4 deletions
|
|
@ -1,4 +1,7 @@
|
|||
from typing_extensions import Protocol
|
||||
try:
|
||||
from typing import Protocol
|
||||
except ImportError: # pragma: no cover
|
||||
from typing_extensions import Protocol # type: ignore
|
||||
|
||||
|
||||
class Downloadable(Protocol):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue