Skip to content

Commit 7e95e57

Browse files
committed
Rollback deps upgrade
1 parent e9f490b commit 7e95e57

3 files changed

Lines changed: 710 additions & 776 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ contrib = [
8686
"sanic",
8787
"sanic-testing",
8888
# Sample integration - Starlette
89-
"starlette<1.0",
89+
"starlette",
9090
# Pydantic support
9191
"pydantic >=2.0,!=2.7.0",
9292
# FastAPI support

tortoise/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ def __iter__(self) -> Iterable[tuple]:
873873
yield field, getattr(self, field)
874874

875875
def __eq__(self, other: object) -> bool:
876-
return type(other) is type(self) and self.pk == other.pk
876+
return type(other) is type(self) and self.pk == other.pk # type: ignore
877877

878878
def _get_pk_val(self) -> Any:
879879
return getattr(self, self._meta.pk_attr, None)

0 commit comments

Comments
 (0)