ignore overloads for now due to p3.6 errors
This commit is contained in:
@ -22,7 +22,7 @@ And what's a better name for python ORM than snakes cabinet :)
|
||||
try:
|
||||
from importlib.metadata import version # type: ignore
|
||||
except ImportError: # pragma: no cover
|
||||
from importlib_metadata import version # type: ignore
|
||||
from importlib_metadata import version # type: ignore
|
||||
from ormar.protocols import QuerySetProtocol, RelationProtocol # noqa: I100
|
||||
from ormar.decorators import ( # noqa: I100
|
||||
post_delete,
|
||||
|
||||
@ -182,7 +182,7 @@ def ForeignKey(to: ForwardRef, **kwargs: Any) -> "Model": # pragma: no cover
|
||||
...
|
||||
|
||||
|
||||
def ForeignKey( # noqa CFQ002
|
||||
def ForeignKey( # type: ignore # noqa CFQ002
|
||||
to: "ToType",
|
||||
*,
|
||||
name: str = None,
|
||||
|
||||
@ -78,7 +78,7 @@ def ManyToMany(to: ForwardRef, **kwargs: Any) -> "RelationProxy": # pragma: no
|
||||
...
|
||||
|
||||
|
||||
def ManyToMany(
|
||||
def ManyToMany( # type: ignore
|
||||
to: "ToType",
|
||||
through: Optional["ToType"] = None,
|
||||
*,
|
||||
|
||||
Reference in New Issue
Block a user