fix: working tasks after first tests
TS Lint / ESLint (push) Successful in 1m0s
Python Lint CI / ty (push) Successful in 1m6s
Python Lint CI / ruff (push) Successful in 1m7s
Python Lint CI / ruff-format-check (push) Successful in 1m12s
TS Lint / Oxlint (push) Failing after 4m55s
TS Lint / TypeScript (push) Successful in 5m15s
TS Lint / ESLint (push) Successful in 1m0s
Python Lint CI / ty (push) Successful in 1m6s
Python Lint CI / ruff (push) Successful in 1m7s
Python Lint CI / ruff-format-check (push) Successful in 1m12s
TS Lint / Oxlint (push) Failing after 4m55s
TS Lint / TypeScript (push) Successful in 5m15s
This commit is contained in:
+5
-1
@@ -1,4 +1,5 @@
|
||||
import tortoise
|
||||
import typing
|
||||
|
||||
import tortoise.models
|
||||
|
||||
|
||||
@@ -9,3 +10,6 @@ class AbstractModel(tortoise.models.Model):
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
||||
def serialize(self) -> dict[str, typing.Any]:
|
||||
return dict(self) # ty:ignore[no-matching-overload]
|
||||
|
||||
Reference in New Issue
Block a user