xync-schema 0.6.90__tar.gz → 0.6.91__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.90/xync_schema.egg-info → xync_schema-0.6.91}/PKG-INFO +1 -1
- {xync_schema-0.6.90 → xync_schema-0.6.91}/xync_schema/enums.py +12 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/xync_schema/models.py +16 -2
- {xync_schema-0.6.90 → xync_schema-0.6.91/xync_schema.egg-info}/PKG-INFO +1 -1
- {xync_schema-0.6.90 → xync_schema-0.6.91}/.env.sample +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/.gitignore +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/.pre-commit-config.yaml +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/README.md +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/makefile +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/pyproject.toml +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/setup.cfg +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/tests/__init__.py +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/tests/test_db.py +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/xync_schema/__init__.py +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/xync_schema/types.py +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/xync_schema.egg-info/SOURCES.txt +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/xync_schema.egg-info/dependency_links.txt +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/xync_schema.egg-info/requires.txt +0 -0
- {xync_schema-0.6.90 → xync_schema-0.6.91}/xync_schema.egg-info/top_level.txt +0 -0
|
@@ -321,3 +321,15 @@ exs = {
|
|
|
321
321
|
),
|
|
322
322
|
# "catalogop2p(.com": ExType.p2p, ''), todo: discover brazilian p2p platforms
|
|
323
323
|
}
|
|
324
|
+
df_curs = {
|
|
325
|
+
"t": "RUB",
|
|
326
|
+
"alfa": "RUB",
|
|
327
|
+
"sber": "RUB",
|
|
328
|
+
"ozon": "RUB",
|
|
329
|
+
"volet": "RUB",
|
|
330
|
+
"payeer": "RUB",
|
|
331
|
+
"sbp": "RUB",
|
|
332
|
+
"yoomoney": "RUB",
|
|
333
|
+
"kasikorn": "THB",
|
|
334
|
+
"google": "INR",
|
|
335
|
+
}
|
|
@@ -459,8 +459,9 @@ class PmexBank(BaseModel): # banks for SBP
|
|
|
459
459
|
class Cred(Model):
|
|
460
460
|
pmcur: fields.ForeignKeyRelation[Pmcur] = fields.ForeignKeyField("models.Pmcur")
|
|
461
461
|
pmcur_id: int
|
|
462
|
-
detail: str = fields.CharField(
|
|
463
|
-
name: str | None = fields.CharField(
|
|
462
|
+
detail: str = fields.CharField(84)
|
|
463
|
+
name: str | None = fields.CharField(84, null=True)
|
|
464
|
+
extra: str | None = fields.CharField(84, null=True)
|
|
464
465
|
person: fields.ForeignKeyRelation[Person] = fields.ForeignKeyField("models.Person", "creds")
|
|
465
466
|
person_id: int
|
|
466
467
|
|
|
@@ -516,6 +517,19 @@ class Fiat(Model):
|
|
|
516
517
|
return sys.modules[module_name].FiatEpyd
|
|
517
518
|
|
|
518
519
|
|
|
520
|
+
class Rival(Model, TsTrait):
|
|
521
|
+
actor: fields.ForeignKeyRelation[Actor] = fields.ForeignKeyField("models.Actor")
|
|
522
|
+
actor_id: int
|
|
523
|
+
direction: fields.ForeignKeyRelation[Direction] = fields.ForeignKeyField("models.Direction")
|
|
524
|
+
direction_id: int
|
|
525
|
+
pm: fields.ForeignKeyRelation[Pm] = fields.ForeignKeyField("models.Pm")
|
|
526
|
+
pm_id: int
|
|
527
|
+
rplace: int = fields.SmallIntField()
|
|
528
|
+
price: float = fields.SmallIntField()
|
|
529
|
+
exec_rate: int = fields.SmallIntField()
|
|
530
|
+
completed: int = fields.SmallIntField()
|
|
531
|
+
|
|
532
|
+
|
|
519
533
|
class Limit(Model):
|
|
520
534
|
pmcur: fields.ForeignKeyRelation[Pmcur] = fields.ForeignKeyField("models.Pmcur")
|
|
521
535
|
pmcur_id: int
|
|
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
|
|
File without changes
|
|
File without changes
|