xync-schema 0.6.55__tar.gz → 0.6.56__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: xync-schema
3
- Version: 0.6.55
3
+ Version: 0.6.56
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
@@ -453,6 +453,11 @@ class Msg(Model):
453
453
  receiver: fields.ForeignKeyRelation[Agent] = fields.ForeignKeyField("models.User", related_name="msgs")
454
454
  order: fields.ForeignKeyRelation[Order] = fields.ForeignKeyField("models.Order", related_name="msgs")
455
455
 
456
+ class PydanticMeta(Model.PydanticMeta):
457
+ max_recursion: int = 0
458
+ exclude_raw_fields: bool = False
459
+ exclude = ("receiver", "order")
460
+
456
461
 
457
462
  # class Dep(Model, TsTrait):
458
463
  # pid: str = fields.CharField(31) # product_id
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: xync-schema
3
- Version: 0.6.55
3
+ Version: 0.6.56
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
File without changes
File without changes
File without changes
File without changes
File without changes