xync-schema 0.6.54.dev2__py3-none-any.whl → 0.6.55__py3-none-any.whl
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/enums.py +0 -1
- xync_schema/models.py +11 -1
- xync_schema/pydantic.py +1 -0
- {xync_schema-0.6.54.dev2.dist-info → xync_schema-0.6.55.dist-info}/METADATA +1 -1
- xync_schema-0.6.55.dist-info/RECORD +8 -0
- xync_schema-0.6.54.dev2.dist-info/RECORD +0 -8
- {xync_schema-0.6.54.dev2.dist-info → xync_schema-0.6.55.dist-info}/WHEEL +0 -0
- {xync_schema-0.6.54.dev2.dist-info → xync_schema-0.6.55.dist-info}/top_level.txt +0 -0
xync_schema/enums.py
CHANGED
xync_schema/models.py
CHANGED
|
@@ -219,6 +219,14 @@ class Agent(Model):
|
|
|
219
219
|
client = sys.modules[module_name].AgentClient
|
|
220
220
|
return client(self)
|
|
221
221
|
|
|
222
|
+
def asset_client(self):
|
|
223
|
+
import sys
|
|
224
|
+
|
|
225
|
+
module_name = f"xync_client.{self.ex.name}.asset"
|
|
226
|
+
__import__(module_name)
|
|
227
|
+
client = sys.modules[module_name].AssetClient
|
|
228
|
+
return client(self)
|
|
229
|
+
|
|
222
230
|
|
|
223
231
|
class Adpm(Model):
|
|
224
232
|
ad: fields.ForeignKeyRelation["Ad"] = fields.ForeignKeyField("models.Ad")
|
|
@@ -433,7 +441,9 @@ class Order(Model):
|
|
|
433
441
|
table_description = "P2P Orders"
|
|
434
442
|
|
|
435
443
|
class PydanticMeta(Model.PydanticMeta):
|
|
436
|
-
|
|
444
|
+
max_recursion: int = 0
|
|
445
|
+
exclude_raw_fields: bool = False
|
|
446
|
+
exclude = ("taker", "ad", "fiat", "msgs")
|
|
437
447
|
|
|
438
448
|
|
|
439
449
|
class Msg(Model):
|
xync_schema/pydantic.py
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
xync_schema/enums.py,sha256=la85coRbxXL0HiAgJYpOU4Yyf_atVp6DZSlAV3ICvEk,12207
|
|
3
|
+
xync_schema/models.py,sha256=9m2_Xgw34o27kD2ZRt63cBsPI0O3auy1l_29zNJibSU,22012
|
|
4
|
+
xync_schema/pydantic.py,sha256=-tOgIhjwGvp77c3Y5fRWrgt21LXwFUsPg1xE8ucb9G4,701
|
|
5
|
+
xync_schema-0.6.55.dist-info/METADATA,sha256=qhWd4tVXtTqXpIYBEIxiQe8NKyBz9L7ANe0s4IWJYN8,3985
|
|
6
|
+
xync_schema-0.6.55.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
7
|
+
xync_schema-0.6.55.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
+
xync_schema-0.6.55.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
xync_schema/enums.py,sha256=NaIjuVzGF713oeo6DyhncZ4Miid1dt-sdpCIjf9DEns,12229
|
|
3
|
-
xync_schema/models.py,sha256=MjLdJXUAKRgqrPxuae3TEPQx4qViu066PAF95UkVJpU,21698
|
|
4
|
-
xync_schema/pydantic.py,sha256=tcJKIkGt0zHJ6lX4_lAJZm34SLVXwACGSSi3T7MbohA,700
|
|
5
|
-
xync_schema-0.6.54.dev2.dist-info/METADATA,sha256=qVdewNoKLFOSsIietCcFTWlVZDXsreUaf3H4Z_0oKxc,3990
|
|
6
|
-
xync_schema-0.6.54.dev2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
7
|
-
xync_schema-0.6.54.dev2.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
-
xync_schema-0.6.54.dev2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|