xync-schema 0.6.36.dev2__tar.gz → 0.6.36.dev3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xync_schema-0.6.36.dev2/xync_schema.egg-info → xync_schema-0.6.36.dev3}/PKG-INFO +1 -1
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/xync_schema/models.py +2 -5
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3/xync_schema.egg-info}/PKG-INFO +1 -1
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/.env.sample +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/.gitignore +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/.pre-commit-config.yaml +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/README.md +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/makefile +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/pyproject.toml +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/setup.cfg +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/tests/__init__.py +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/tests/test_db.py +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/xync_schema/__init__.py +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/xync_schema/enums.py +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/xync_schema/pydantic.py +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/xync_schema.egg-info/SOURCES.txt +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/xync_schema.egg-info/dependency_links.txt +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/xync_schema.egg-info/requires.txt +0 -0
- {xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/xync_schema.egg-info/top_level.txt +0 -0
|
@@ -244,16 +244,13 @@ class Pm(Model):
|
|
|
244
244
|
type_: PmType | None = fields.IntEnumField(PmType, null=True)
|
|
245
245
|
template: int | None = fields.SmallIntField(null=True)
|
|
246
246
|
logo: str | None = fields.CharField(127, null=True)
|
|
247
|
-
color: str | None = fields.CharField(7, null=True)
|
|
248
247
|
multiAllow: bool | None = fields.BooleanField(null=True)
|
|
249
248
|
riskLevel: int | None = fields.SmallIntField(null=True)
|
|
250
249
|
chatNeed: bool | None = fields.BooleanField(null=True)
|
|
251
250
|
|
|
252
251
|
ads: fields.ManyToManyRelation[Ad]
|
|
253
252
|
curs: fields.ManyToManyRelation[Cur]
|
|
254
|
-
exs: fields.ManyToManyRelation[Ex] = fields.ManyToManyField(
|
|
255
|
-
"models.Ex", through="pmex"
|
|
256
|
-
) # no need. use pmexs[.exid]
|
|
253
|
+
exs: fields.ManyToManyRelation[Ex] = fields.ManyToManyField("models.Ex", "pmex") # no need. use pmexs[.exid]
|
|
257
254
|
orders: fields.ReverseRelation["Order"]
|
|
258
255
|
pmcurs: fields.ReverseRelation["Pmcur"] # no need. use curs
|
|
259
256
|
pmexs: fields.ReverseRelation["Pmex"]
|
|
@@ -262,7 +259,7 @@ class Pm(Model):
|
|
|
262
259
|
table_description = "Payment methods"
|
|
263
260
|
|
|
264
261
|
class PydanticMeta(Model.PydanticMeta):
|
|
265
|
-
include = ("logo"
|
|
262
|
+
include = ("id", "name", "logo")
|
|
266
263
|
|
|
267
264
|
|
|
268
265
|
class Pmcur(Model): # for fiat with no exs tie
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xync_schema-0.6.36.dev2 → xync_schema-0.6.36.dev3}/xync_schema.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|