xync-schema 0.6.38__py3-none-any.whl → 0.6.39__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-0.6.38.dist-info → xync_schema-0.6.39.dist-info}/METADATA +1 -1
- xync_schema-0.6.39.dist-info/RECORD +8 -0
- xync_schema-0.6.38.dist-info/RECORD +0 -8
- {xync_schema-0.6.38.dist-info → xync_schema-0.6.39.dist-info}/WHEEL +0 -0
- {xync_schema-0.6.38.dist-info → xync_schema-0.6.39.dist-info}/top_level.txt +0 -0
xync_schema/models.py
CHANGED
|
@@ -246,8 +246,8 @@ class Ad(Model, TsTrait):
|
|
|
246
246
|
|
|
247
247
|
|
|
248
248
|
class Pm(Model):
|
|
249
|
-
name: str = fields.CharField(63, unique=
|
|
250
|
-
identifier: str | None = fields.CharField(63, unique=
|
|
249
|
+
name: str = fields.CharField(63, unique=True)
|
|
250
|
+
identifier: str | None = fields.CharField(63, unique=True, null=True)
|
|
251
251
|
# type_: PmType | None = fields.IntEnumField(PmType, null=True)
|
|
252
252
|
type_: int | None = fields.SmallIntField(null=True)
|
|
253
253
|
logo: str | None = fields.CharField(127, null=True)
|
|
@@ -292,7 +292,7 @@ class Pmex(BaseModel): # existence pm in ex with no cur tie
|
|
|
292
292
|
exid: str = fields.CharField(31)
|
|
293
293
|
|
|
294
294
|
class Meta:
|
|
295
|
-
unique_together = (("
|
|
295
|
+
unique_together = (("ex_id", "exid"),)
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
class Pmcurex(BaseModel): # existence pm in ex for exact cur, with "blocked" flag
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
xync_schema/enums.py,sha256=oOpyfG2i1-UKD8Udh2sVBIMUHTIhKZMPIA6Rh7lqnDA,10013
|
|
3
|
+
xync_schema/models.py,sha256=aFEKN2KDr587qSCbOKtzf-0PKJBeVC4mxxSZG_gh4KU,20049
|
|
4
|
+
xync_schema/pydantic.py,sha256=cyviSX1P2Cj6fLFq_IsrYdWB6gBOYwR4adPXrAmlP7g,274
|
|
5
|
+
xync_schema-0.6.39.dist-info/METADATA,sha256=DFciGVAiMseMNplR8swvk-1FWBt043NQ4GACPIqeWUM,3988
|
|
6
|
+
xync_schema-0.6.39.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
|
7
|
+
xync_schema-0.6.39.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
+
xync_schema-0.6.39.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
xync_schema/enums.py,sha256=oOpyfG2i1-UKD8Udh2sVBIMUHTIhKZMPIA6Rh7lqnDA,10013
|
|
3
|
-
xync_schema/models.py,sha256=6O9YYmwjqDF5e-Oe-38B3t-b8rH5AIuPw_2nLw5RT5I,20070
|
|
4
|
-
xync_schema/pydantic.py,sha256=cyviSX1P2Cj6fLFq_IsrYdWB6gBOYwR4adPXrAmlP7g,274
|
|
5
|
-
xync_schema-0.6.38.dist-info/METADATA,sha256=peqU_tPkRmXAUDEVxg1kbKvi8Oo7lce1pUceGWzGNVA,3988
|
|
6
|
-
xync_schema-0.6.38.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
|
7
|
-
xync_schema-0.6.38.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
-
xync_schema-0.6.38.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|