xync-schema 0.6.42__py3-none-any.whl → 0.6.43__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/models.py CHANGED
@@ -233,8 +233,8 @@ class Ad(Model, TsTrait):
233
233
  pms: fields.ManyToManyRelation["Pm"] = fields.ManyToManyField("models.Pm", through="adpm") # only root pms
234
234
  maxFiat: float = fields.FloatField()
235
235
  minFiat: float = fields.FloatField()
236
- detail: str = fields.CharField(4095, null=True)
237
- autoMsg: str = fields.CharField(255, null=True)
236
+ detail: str | None = fields.CharField(4095, null=True)
237
+ autoMsg: str | None = fields.CharField(255, null=True)
238
238
  agent: fields.ForeignKeyRelation[Agent] = fields.ForeignKeyField("models.Agent", "ads")
239
239
  status: AdStatus = fields.IntEnumField(AdStatus)
240
240
 
@@ -409,6 +409,9 @@ class Order(Model, TsTrait):
409
409
  class Meta:
410
410
  table_description = "P2P Orders"
411
411
 
412
+ class PydanticMeta(Model.PydanticMeta):
413
+ exclude = ("taker",)
414
+
412
415
 
413
416
  # class Dep(Model, TsTrait):
414
417
  # pid: str = fields.CharField(31) # product_id
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xync-schema
3
- Version: 0.6.42
3
+ Version: 0.6.43
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
@@ -0,0 +1,8 @@
1
+ xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ xync_schema/enums.py,sha256=hOX2jtSOa2_Pk4wasMS5JHlBDro8biMKiKRtfSJyBp0,10030
3
+ xync_schema/models.py,sha256=IGxgoj3zbZ4iEHWTO9olmP7u5kupJYkpSCHK_YBHyIg,20308
4
+ xync_schema/pydantic.py,sha256=cyviSX1P2Cj6fLFq_IsrYdWB6gBOYwR4adPXrAmlP7g,274
5
+ xync_schema-0.6.43.dist-info/METADATA,sha256=Uj8VxlAu2WSYyPFHK98nDuTVIBI1Zpq6kS8ZxdvIyeg,3988
6
+ xync_schema-0.6.43.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
7
+ xync_schema-0.6.43.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
8
+ xync_schema-0.6.43.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- xync_schema/enums.py,sha256=hOX2jtSOa2_Pk4wasMS5JHlBDro8biMKiKRtfSJyBp0,10030
3
- xync_schema/models.py,sha256=EK-pigi1bTYWFiXSt7QqyPPEfkLfnS2WhjRjpdPyCjI,20220
4
- xync_schema/pydantic.py,sha256=cyviSX1P2Cj6fLFq_IsrYdWB6gBOYwR4adPXrAmlP7g,274
5
- xync_schema-0.6.42.dist-info/METADATA,sha256=fl8yaOPUDzN5DyfREKVw2jcX13d7UNiR2xs53jFAXt0,3988
6
- xync_schema-0.6.42.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
7
- xync_schema-0.6.42.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
8
- xync_schema-0.6.42.dist-info/RECORD,,