xync-schema 0.6.66__tar.gz → 0.6.67__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.66/xync_schema.egg-info → xync_schema-0.6.67}/PKG-INFO +1 -1
- {xync_schema-0.6.66 → xync_schema-0.6.67}/xync_schema/models.py +10 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67/xync_schema.egg-info}/PKG-INFO +1 -1
- {xync_schema-0.6.66 → xync_schema-0.6.67}/.env.sample +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/.gitignore +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/.pre-commit-config.yaml +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/README.md +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/makefile +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/pyproject.toml +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/setup.cfg +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/tests/__init__.py +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/tests/test_db.py +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/xync_schema/__init__.py +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/xync_schema/enums.py +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/xync_schema/pydantic.py +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/xync_schema.egg-info/SOURCES.txt +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/xync_schema.egg-info/dependency_links.txt +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/xync_schema.egg-info/requires.txt +0 -0
- {xync_schema-0.6.66 → xync_schema-0.6.67}/xync_schema.egg-info/top_level.txt +0 -0
|
@@ -340,6 +340,16 @@ class PmexBank(BaseModel): # banks for SBP
|
|
|
340
340
|
unique_together = (("pmex", "exid"),)
|
|
341
341
|
|
|
342
342
|
|
|
343
|
+
class FiatBank(BaseModel): # banks for SBP
|
|
344
|
+
pmexbank: fields.ForeignKeyRelation[PmexBank] = fields.ForeignKeyField("models.PmexBank", "fiatbanks")
|
|
345
|
+
pmexbank_id: int
|
|
346
|
+
fiat: fields.ForeignKeyRelation["Fiat"] = fields.ForeignKeyField("models.Fiat", "fiatbanks")
|
|
347
|
+
fiat_id: int
|
|
348
|
+
|
|
349
|
+
class Meta:
|
|
350
|
+
unique_together = (("fiat_id", "pmexbank_id"),)
|
|
351
|
+
|
|
352
|
+
|
|
343
353
|
class Pmcurex(BaseModel): # existence pm in ex for exact cur, with "blocked" flag
|
|
344
354
|
pmcur: fields.ForeignKeyRelation[Pmcur] = fields.ForeignKeyField("models.Pmcur")
|
|
345
355
|
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
|
|
File without changes
|