xync-schema 0.6.79__py3-none-any.whl → 0.6.80__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 +3 -3
- xync_schema/types.py +0 -4
- {xync_schema-0.6.79.dist-info → xync_schema-0.6.80.dist-info}/METADATA +1 -1
- xync_schema-0.6.80.dist-info/RECORD +8 -0
- xync_schema-0.6.79.dist-info/RECORD +0 -8
- {xync_schema-0.6.79.dist-info → xync_schema-0.6.80.dist-info}/WHEEL +0 -0
- {xync_schema-0.6.79.dist-info → xync_schema-0.6.80.dist-info}/top_level.txt +0 -0
xync_schema/models.py
CHANGED
|
@@ -93,11 +93,11 @@ class Ex(Model):
|
|
|
93
93
|
class PydanticMeta(Model.PydanticMeta):
|
|
94
94
|
include = "name", "logo"
|
|
95
95
|
|
|
96
|
-
def client(self):
|
|
96
|
+
def client(self, actor: "Actor" = None):
|
|
97
97
|
module_name = f"xync_client.{self.name}.ex"
|
|
98
98
|
__import__(module_name)
|
|
99
99
|
client = sys.modules[module_name].ExClient
|
|
100
|
-
return client(self)
|
|
100
|
+
return client(self, actor)
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
class Curex(BaseModel):
|
|
@@ -246,7 +246,7 @@ class Actor(Model):
|
|
|
246
246
|
person_id: int
|
|
247
247
|
|
|
248
248
|
agent: fields.BackwardOneToOneRelation["Agent"]
|
|
249
|
-
|
|
249
|
+
my_ads: fields.BackwardFKRelation["Ad"]
|
|
250
250
|
taken_orders: fields.BackwardFKRelation["Order"]
|
|
251
251
|
|
|
252
252
|
def client(self):
|
xync_schema/types.py
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
xync_schema/enums.py,sha256=4ZNpPKY54SY34nz1APsg7wKzCIvpYWhG4sKsZ1uEmVU,12697
|
|
3
|
+
xync_schema/models.py,sha256=txi63RtA691mxv6F65YXz78ntSCCw8Q8_-p0CvUYAHA,27758
|
|
4
|
+
xync_schema/types.py,sha256=hYYFIAyukN5PKCOolSIFNgOCDz6NZ7E8BKpBuRpCu1g,1681
|
|
5
|
+
xync_schema-0.6.80.dist-info/METADATA,sha256=HUCis_BcU9yoJEmao-mddwXCnlaabfhjr0ia-syqOpw,4055
|
|
6
|
+
xync_schema-0.6.80.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
7
|
+
xync_schema-0.6.80.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
+
xync_schema-0.6.80.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
xync_schema/enums.py,sha256=4ZNpPKY54SY34nz1APsg7wKzCIvpYWhG4sKsZ1uEmVU,12697
|
|
3
|
-
xync_schema/models.py,sha256=tit1QTUYuVBKx23nIbrd3l3tcveT3px7qzozq7XQj08,27725
|
|
4
|
-
xync_schema/types.py,sha256=jubMlsGkaLpv1QZrInP0sEKW8SgWa6TyHENDz8OEvDM,1737
|
|
5
|
-
xync_schema-0.6.79.dist-info/METADATA,sha256=978t-smQ6S6ElHdVf6Pt4wHsH6Lh_A4AO4VVBlBLIBs,4055
|
|
6
|
-
xync_schema-0.6.79.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
7
|
-
xync_schema-0.6.79.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
-
xync_schema-0.6.79.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|