Update relation_protocol.py
This commit is contained in:
@ -3,7 +3,7 @@ from typing import TYPE_CHECKING, Type, Union
|
|||||||
try:
|
try:
|
||||||
from typing import Protocol
|
from typing import Protocol
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from typing_extensions import Protocol
|
from typing_extensions import Protocol # type: ignore
|
||||||
|
|
||||||
if TYPE_CHECKING: # pragma: nocover
|
if TYPE_CHECKING: # pragma: nocover
|
||||||
from ormar import Model
|
from ormar import Model
|
||||||
|
|||||||
Reference in New Issue
Block a user