xync-schema 0.6.55__py3-none-any.whl → 0.6.56__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 +5 -0
- {xync_schema-0.6.55.dist-info → xync_schema-0.6.56.dist-info}/METADATA +1 -1
- xync_schema-0.6.56.dist-info/RECORD +8 -0
- xync_schema-0.6.55.dist-info/RECORD +0 -8
- {xync_schema-0.6.55.dist-info → xync_schema-0.6.56.dist-info}/WHEEL +0 -0
- {xync_schema-0.6.55.dist-info → xync_schema-0.6.56.dist-info}/top_level.txt +0 -0
xync_schema/models.py
CHANGED
|
@@ -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
|
|
@@ -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=t8M9tMVPswTg3OwR23HivK1SJDd2FKPNwXmuNLavDrg,22169
|
|
4
|
+
xync_schema/pydantic.py,sha256=-tOgIhjwGvp77c3Y5fRWrgt21LXwFUsPg1xE8ucb9G4,701
|
|
5
|
+
xync_schema-0.6.56.dist-info/METADATA,sha256=fgI9kBKSAP2mfwr4sgRnBCrSMgEn4t3wekHmJGfnrtw,3985
|
|
6
|
+
xync_schema-0.6.56.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
7
|
+
xync_schema-0.6.56.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
+
xync_schema-0.6.56.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
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,,
|
|
File without changes
|
|
File without changes
|