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

@@ -2,6 +2,7 @@ from sqlalchemy import (
2
2
  Column,
3
3
  Integer,
4
4
  String,
5
+ Text,
5
6
  DateTime,
6
7
  UniqueConstraint,
7
8
  )
@@ -16,6 +17,7 @@ class ConfigModel(Base):
16
17
  id = Column(Integer, primary_key=True)
17
18
  table_name = Column(String(128), nullable=False)
18
19
  field_name = Column(String(128), nullable=False)
20
+ field_value = Column(Text, nullable=True)
19
21
  latest_date = Column(DateTime, nullable=False)
20
22
  updated_at = Column(
21
23
  DateTime,
@@ -14,6 +14,7 @@ class ConfigResourceSchema(Schema):
14
14
  latest_date = fields.DateTime(required=True)
15
15
  table_name = fields.String(required=True)
16
16
  field_name = fields.String(required=True)
17
+ field_value = fields.String(allow_none=True)
17
18
  updated_at = fields.DateTime(dump_only=True)
18
19
 
19
20
  @pre_load
@@ -34,6 +35,7 @@ class ConfigQueryParamsSchema(Schema):
34
35
  id = fields.Integer()
35
36
  table_name = fields.String()
36
37
  field_name = fields.String()
38
+ field_value = fields.String()
37
39
  latest_date = fields.DateTime()
38
40
 
39
41
  @pre_load
@@ -54,6 +56,7 @@ class ConfigPatchSchema(Schema):
54
56
  latest_date = fields.DateTime(allow_none=False)
55
57
  table_name = fields.String(allow_none=False)
56
58
  field_name = fields.String(allow_none=False)
59
+ field_value = fields.String(allow_none=True)
57
60
 
58
61
  @pre_load
59
62
  def convert_string_to_datetime(self, in_data, **kwargs):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cs-models
3
- Version: 0.0.821
3
+ Version: 0.0.823
4
4
  Summary: MySQL db models
5
5
  Home-page: https://github.com/mindgram/cs-models
6
6
  Author: Shrey Verma
@@ -21,7 +21,7 @@ Requires-Dist: six==1.16.0
21
21
  Requires-Dist: urllib3>=1.26.19
22
22
  Requires-Dist: dnspython==2.6.1
23
23
  Requires-Dist: pymongo==4.6.3
24
- Requires-Dist: psycopg2-binary==2.9.3
24
+ Requires-Dist: psycopg2-binary<=2.9.9,>=2.9.3
25
25
  Requires-Dist: sshtunnel==0.4.0
26
26
 
27
27
  UNKNOWN
@@ -217,8 +217,8 @@ cs_models/resources/ConditionTA/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
217
217
  cs_models/resources/ConditionTA/models.py,sha256=l4mHTM3bL3uaQVCL5NpovTwG65WTPadnLIOXR_am4H0,881
218
218
  cs_models/resources/ConditionTA/schemas.py,sha256=u9fCF9CWTmY3lhoocgA5_mgg8OsQfMa9GF_kCCFwjZM,360
219
219
  cs_models/resources/Config/__init__.py,sha256=q8GEN0jNhobMMFpl_nWMhM2QzzJiYdwIbKvKAvMeABw,4664
220
- cs_models/resources/Config/models.py,sha256=DWjyZnVqE46pUhpjYLoGM5Fo-J20IpCcKtmyMge8DEc,627
221
- cs_models/resources/Config/schemas.py,sha256=o35-qziBWcEHYZQuXn3lSk__eMBltFltzj4BqIH2CaQ,1759
220
+ cs_models/resources/Config/models.py,sha256=9UBy0HWtOwubCFaClO0f-OFkdGESgjDlIYf5Bn4eYTA,683
221
+ cs_models/resources/Config/schemas.py,sha256=BgPzYdyqtn7j01wKM4wvUjzXLwn1fxoYfrSaueUxgjM,1891
222
222
  cs_models/resources/Config/test_config.py,sha256=PXgr1OhHUN6kBhE4sOg5uIzy7IT7f3PoWR_QEQtTHtg,3602
223
223
  cs_models/resources/Context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
224
224
  cs_models/resources/Context/models.py,sha256=GXswtN-xxlDlKj6OkY0JU3p0q--XfU_SIMDR0lLyQ50,328
@@ -1324,7 +1324,7 @@ cs_models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1324
1324
  cs_models/utils/alchemy.py,sha256=fhINGFn41owJ2DLXQKXAAtLqeZ1BRzD_qU0wPK_bsGQ,1598
1325
1325
  cs_models/utils/utils.py,sha256=BzCDk3u1np7DoJQqCZIJN4f80JNHvJoWO4qEFgolN-8,4474
1326
1326
  cs_models/utils/profiling/__init__.py,sha256=N-73vb0M92C975fxgXyBCBjCPELl8Oh21ZY_-tzDnns,569
1327
- cs_models-0.0.821.dist-info/METADATA,sha256=uVgwEIIO9uvdkyEu-EbKzFYFvBiRUm8NhJ2G1giRkhc,751
1328
- cs_models-0.0.821.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1329
- cs_models-0.0.821.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1330
- cs_models-0.0.821.dist-info/RECORD,,
1327
+ cs_models-0.0.823.dist-info/METADATA,sha256=4g1zMmw_1p5X-2PbxOZw2g0RDUDbfP4pty4bfd6VrrI,759
1328
+ cs_models-0.0.823.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1329
+ cs_models-0.0.823.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1330
+ cs_models-0.0.823.dist-info/RECORD,,