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

@@ -13,7 +13,8 @@ from ...database import Base
13
13
  class VAParameterModel(Base):
14
14
  __tablename__ = 'va_parameters'
15
15
 
16
- pid = Column(Integer, primary_key=True)
16
+ id = Column(Integer, primary_key=True)
17
+ pid = Column(Integer, nullable=False)
17
18
  cid = Column(Integer, nullable=False, index=True)
18
19
  pname = Column(String(191), nullable=False)
19
20
  ciso = Column(String(20), nullable=True)
@@ -21,7 +22,7 @@ class VAParameterModel(Base):
21
22
  sign = Column(String(10), nullable=True)
22
23
  ppid = Column(
23
24
  Integer,
24
- ForeignKey('va_parameters.id'),
25
+ ForeignKey('va_parameters.pid'),
25
26
  nullable=True
26
27
  )
27
28
  ftid = Column(Integer, nullable=True)
@@ -8,6 +8,7 @@ from marshmallow import (
8
8
  class VAParameterResourceSchema(Schema):
9
9
  not_blank = validate.Length(min=1, error='Field cannot be blank')
10
10
 
11
+ id = fields.Integer(dump_only=True)
11
12
  pid = fields.Integer(required=True)
12
13
  cid = fields.Integer(required=True)
13
14
  pname = fields.String(required=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cs-models
3
- Version: 0.0.724
3
+ Version: 0.0.725
4
4
  Summary: MySQL db models
5
5
  Home-page: https://github.com/mindgram/cs-models
6
6
  Author: Shrey Verma
@@ -1042,8 +1042,8 @@ cs_models/resources/UserWorkbook/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
1042
1042
  cs_models/resources/UserWorkbook/models.py,sha256=1f5V5o4AcHElMY31bME4S1wm06bm3SbLucYJrzk0ONk,759
1043
1043
  cs_models/resources/UserWorkbook/schemas.py,sha256=0roXytt6Rv8RS6Um9WPZbWz2eYptmxacc7SEp0c2vHQ,427
1044
1044
  cs_models/resources/VAParameter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1045
- cs_models/resources/VAParameter/models.py,sha256=xdcq4zz5qyDJGftTKlGTygZYJH_BpHs8xZXRDym9bs8,914
1046
- cs_models/resources/VAParameter/schemas.py,sha256=0pS2OEvPOEZexMp2e1X2vHryNZGRWChalToi5Lb5LS0,688
1045
+ cs_models/resources/VAParameter/models.py,sha256=rYYITHuBThN2RkHjHq0SKI38bYZ0AQl21YU4eV94CDE,956
1046
+ cs_models/resources/VAParameter/schemas.py,sha256=OqTuHbXhoRwqFCuxn_PrZ11EtYtJATLHWnF5uInPopQ,728
1047
1047
  cs_models/resources/VAParameterCondition/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1048
1048
  cs_models/resources/VAParameterIntervention/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1049
1049
  cs_models/resources/ViewConditionByTA/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -1188,7 +1188,7 @@ cs_models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1188
1188
  cs_models/utils/alchemy.py,sha256=fhINGFn41owJ2DLXQKXAAtLqeZ1BRzD_qU0wPK_bsGQ,1598
1189
1189
  cs_models/utils/utils.py,sha256=bY623DuzycfPQiaOQT2AxfANeWfwr5w76dBuQ813-ns,3664
1190
1190
  cs_models/utils/profiling/__init__.py,sha256=N-73vb0M92C975fxgXyBCBjCPELl8Oh21ZY_-tzDnns,569
1191
- cs_models-0.0.724.dist-info/METADATA,sha256=ZtI3U15hnsh9eRRrq5-LiuGGgkQCeEfc4IuNmxV05Dk,792
1192
- cs_models-0.0.724.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
1193
- cs_models-0.0.724.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1194
- cs_models-0.0.724.dist-info/RECORD,,
1191
+ cs_models-0.0.725.dist-info/METADATA,sha256=fqaqyRMPNiec_p35L7lJYUFQqLJbQYH1uUUCDZxjbLc,792
1192
+ cs_models-0.0.725.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
1193
+ cs_models-0.0.725.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1194
+ cs_models-0.0.725.dist-info/RECORD,,