cs-models 0.0.792__py3-none-any.whl → 0.0.794__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.

Potentially problematic release.


This version of cs-models might be problematic. Click here for more details.

@@ -6,6 +6,7 @@ from sqlalchemy import (
6
6
  DateTime,
7
7
  ForeignKey,
8
8
  Boolean,
9
+ Text,
9
10
  String,
10
11
  )
11
12
 
@@ -22,6 +23,12 @@ class DesignationModel(Base):
22
23
  nullable=False,
23
24
  )
24
25
  designation = Column(String(128), nullable=False, index=True)
26
+ news_id = Column(
27
+ Integer,
28
+ ForeignKey('newswires.id'),
29
+ nullable=True,
30
+ )
31
+ designation_text = Column(Text, nullable=True)
25
32
  is_deleted = Column(Boolean, nullable=True)
26
33
  updated_at = Column(
27
34
  DateTime,
@@ -11,5 +11,7 @@ class DesignationResourceSchema(Schema):
11
11
  id = fields.Integer(dump_only=True)
12
12
  intervention_condition_id = fields.Integer(required=True)
13
13
  designation = fields.String(validate=not_blank, required=True)
14
+ designation_text = fields.String(allow_none=True)
15
+ news_id = fields.Integer(allow_none=True)
14
16
  is_deleted = fields.Boolean(allow_none=True)
15
17
  updated_at = fields.DateTime()
@@ -7,6 +7,7 @@ from sqlalchemy import (
7
7
  ForeignKey,
8
8
  Text,
9
9
  String,
10
+ Boolean,
10
11
  )
11
12
 
12
13
  from ...database import Base
@@ -28,6 +29,7 @@ class DesignationOutboxModel(Base):
28
29
  ForeignKey('newswires.id'),
29
30
  nullable=False,
30
31
  )
32
+ processed = Column(Boolean, nullable=True)
31
33
  updated_at = Column(
32
34
  DateTime,
33
35
  nullable=False,
@@ -13,4 +13,5 @@ class DesignationOutboxResourceSchema(Schema):
13
13
  designation = fields.String(validate=not_blank, required=True)
14
14
  designation_text = fields.String(validate=not_blank)
15
15
  news_id = fields.Integer(required=True)
16
+ processed = fields.Boolean(allow_none=True)
16
17
  updated_at = fields.DateTime()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cs-models
3
- Version: 0.0.792
3
+ Version: 0.0.794
4
4
  Summary: MySQL db models
5
5
  Home-page: https://github.com/mindgram/cs-models
6
6
  Author: Shrey Verma
@@ -270,11 +270,11 @@ cs_models/resources/DeletedNewswire/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
270
270
  cs_models/resources/DeletedNewswire/models.py,sha256=Gm9Vn-yN4jnvLMULSNYypHHLqXT2WKIrasbunbDFfGY,597
271
271
  cs_models/resources/DeletedNewswire/schemas.py,sha256=GUv3qxaehqApLvLcmGok0xl0IMMIJsWtHR3XvRNmDY8,497
272
272
  cs_models/resources/Designation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
273
- cs_models/resources/Designation/models.py,sha256=HZiq3RGhQJfAllCq0uXffHBImkUsBWWi2wgwgzAZxhI,801
274
- cs_models/resources/Designation/schemas.py,sha256=CEsHYT0DX9PJq8I879aglG_JEWiUxixMyXdmPQX296M,433
273
+ cs_models/resources/Designation/models.py,sha256=Xwg8VcEc2VTbEYsBw0266pTdK4_ddq8ua7BjRsSGK7s,966
274
+ cs_models/resources/Designation/schemas.py,sha256=h3s__0J0Q2JpGz8M1Lj2iV4gYAwX94NHUWXScLAfJHk,533
275
275
  cs_models/resources/DesignationOutbox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
276
- cs_models/resources/DesignationOutbox/models.py,sha256=UpJZs_JQxVr7wxMLexO-yc8Hc26-btiXZnAAuLcmT9g,919
277
- cs_models/resources/DesignationOutbox/schemas.py,sha256=qMvxAvy4dcUoB1-yhUAYtCAGGvJixTfviROjI91VcC0,493
276
+ cs_models/resources/DesignationOutbox/models.py,sha256=_Q0aRKT04R91PwMKg3kC-eLWgiiqL26wF68wuUicWAw,979
277
+ cs_models/resources/DesignationOutbox/schemas.py,sha256=3NAUyyrKu3PKWJwsnUisaZwR3fwx8JMYCRffsAq7akc,541
278
278
  cs_models/resources/Digest/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
279
279
  cs_models/resources/Digest/models.py,sha256=YCYCiBNKqoOcgKqoCQIitREahNglY-jbG690QuLgwtg,908
280
280
  cs_models/resources/Digest/schemas.py,sha256=mcNK2kyCSqxzbYbnFgZcNGe0OYKT4dxHUKanBGbyE_4,501
@@ -1288,7 +1288,7 @@ cs_models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1288
1288
  cs_models/utils/alchemy.py,sha256=fhINGFn41owJ2DLXQKXAAtLqeZ1BRzD_qU0wPK_bsGQ,1598
1289
1289
  cs_models/utils/utils.py,sha256=BzCDk3u1np7DoJQqCZIJN4f80JNHvJoWO4qEFgolN-8,4474
1290
1290
  cs_models/utils/profiling/__init__.py,sha256=N-73vb0M92C975fxgXyBCBjCPELl8Oh21ZY_-tzDnns,569
1291
- cs_models-0.0.792.dist-info/METADATA,sha256=lw2m0Tv1j_ZbuwPRMtVwr38r6_gx_aeNa8euc8LHFnM,751
1292
- cs_models-0.0.792.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1293
- cs_models-0.0.792.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1294
- cs_models-0.0.792.dist-info/RECORD,,
1291
+ cs_models-0.0.794.dist-info/METADATA,sha256=9gYABasmcmYRGdmSYf0TeUNhlpGY-BPvTj_ObiVUEeQ,751
1292
+ cs_models-0.0.794.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1293
+ cs_models-0.0.794.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1294
+ cs_models-0.0.794.dist-info/RECORD,,