fix private attributes initialization

This commit is contained in:
collerek
2021-04-12 10:40:29 +02:00
parent b3b1c156b5
commit 6780c9de8a
4 changed files with 56 additions and 15 deletions

View File

@ -22,7 +22,7 @@ if TYPE_CHECKING: # pragma no cover
from ormar.relations import Relation
from ormar.models import Model, T
from ormar.queryset import QuerySet
from ormar import RelationType, ForeignKeyField
from ormar import RelationType
else:
T = TypeVar("T", bound="Model")