chore: small improvements

This commit is contained in:
ITQ
2025-02-20 11:33:55 +03:00
parent 0fc68b1142
commit d1d8c842e8
6 changed files with 20 additions and 20 deletions
@@ -1,4 +1,4 @@
import typing
from typing import ClassVar
from uuid import UUID
from ninja import ModelSchema
@@ -12,10 +12,10 @@ class Advertiser(ModelSchema):
class Meta:
model = AdvertiserModel
exclude: typing.ClassVar[tuple[str]] = (AdvertiserModel.id.field.name,)
exclude: ClassVar[tuple[str]] = (AdvertiserModel.id.field.name,)
class Mlscore(ModelSchema):
class Meta:
model = MlscoreModel
exclude: typing.ClassVar[tuple[str]] = (MlscoreModel.id.field.name,)
exclude: ClassVar[tuple[str]] = (MlscoreModel.id.field.name,)