cs-models 0.0.812__py3-none-any.whl → 0.0.813__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.
- cs_models/resources/SmartDefGridRun/models.py +3 -2
- cs_models/resources/SmartDefGridRun/schemas.py +3 -2
- {cs_models-0.0.812.dist-info → cs_models-0.0.813.dist-info}/METADATA +1 -1
- {cs_models-0.0.812.dist-info → cs_models-0.0.813.dist-info}/RECORD +6 -6
- {cs_models-0.0.812.dist-info → cs_models-0.0.813.dist-info}/WHEEL +0 -0
- {cs_models-0.0.812.dist-info → cs_models-0.0.813.dist-info}/top_level.txt +0 -0
|
@@ -27,11 +27,12 @@ class SmartDefGridRunModel(Base):
|
|
|
27
27
|
id = Column(Integer, primary_key=True, autoincrement=True) # run_id
|
|
28
28
|
smart_def_grid_id = Column(Integer, ForeignKey("smart_def_grids.id", ondelete="CASCADE"), nullable=False)
|
|
29
29
|
|
|
30
|
+
scope_mode = Column(SAEnum(SmartDefGridRunScope), nullable=False, default=SmartDefGridRunScope.all)
|
|
31
|
+
|
|
30
32
|
# optional snapshotting to make runs reproducible/debuggable
|
|
31
33
|
outline_json = Column(JSON, nullable=False) # new outline created for this run
|
|
32
34
|
original_table_json = Column(JSON, nullable=False) # stamped block at run start
|
|
33
|
-
|
|
34
|
-
scope_mode = Column(SAEnum(SmartDefGridRunScope), nullable=False, default=SmartDefGridRunScope.all)
|
|
35
|
+
targets_json = Column(JSON, nullable=True)
|
|
35
36
|
|
|
36
37
|
# execution metadata
|
|
37
38
|
status = Column(
|
|
@@ -12,11 +12,12 @@ class SmartDefGridRunResourceSchema(Schema):
|
|
|
12
12
|
id = fields.String(dump_only=True) # table_id
|
|
13
13
|
smart_def_grid_id = fields.Integer(allow_none=True) # if you link to a workbook
|
|
14
14
|
|
|
15
|
+
scope_mode = fields.String(required=True)
|
|
16
|
+
|
|
15
17
|
# prefer dicts; switch to fields.String if you store JSON-serialized strings
|
|
16
18
|
outline_json = fields.Raw(required=True)
|
|
17
19
|
original_table_json = fields.Raw(required=True)
|
|
18
|
-
|
|
19
|
-
scope_mode = fields.String(required=True)
|
|
20
|
+
targets_json = fields.Raw(allow_none=True)
|
|
20
21
|
|
|
21
22
|
status = fields.String(required=True)
|
|
22
23
|
started_by_user_id = fields.String(required=True)
|
|
@@ -972,8 +972,8 @@ cs_models/resources/SmartDefGridCellValue/__init__.py,sha256=47DEQpj8HBSa-_TImW-
|
|
|
972
972
|
cs_models/resources/SmartDefGridCellValue/models.py,sha256=xNonMUcjN09lqS0CrYLoVGRpsGPFvW75FcT5IY7ggUA,2425
|
|
973
973
|
cs_models/resources/SmartDefGridCellValue/schemas.py,sha256=RjxVxBtxd29iReLOfArdHOzmV4ruyfyUnqfL8Wf9BG4,690
|
|
974
974
|
cs_models/resources/SmartDefGridRun/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
975
|
-
cs_models/resources/SmartDefGridRun/models.py,sha256=
|
|
976
|
-
cs_models/resources/SmartDefGridRun/schemas.py,sha256=
|
|
975
|
+
cs_models/resources/SmartDefGridRun/models.py,sha256=LdjxA4VjsfrV73OnBmlAbQQ1FvR6RfbHosEUB9TP_T4,2191
|
|
976
|
+
cs_models/resources/SmartDefGridRun/schemas.py,sha256=8PWFEOCixN_f5lPbWDbJnQ5xSMhNnB0mdeY7X4XFvhI,1250
|
|
977
977
|
cs_models/resources/SmartGrid/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
978
978
|
cs_models/resources/SmartGrid/models.py,sha256=9weIkYbh-Y-My5vjjUP-N-ziSNV-AWww1UUltK8EIy0,1011
|
|
979
979
|
cs_models/resources/SmartGrid/schemas.py,sha256=v5iG5dsEDnRp8P3UKba7uN39ZD_hqPvfLWyX1ltKKjM,665
|
|
@@ -1321,7 +1321,7 @@ cs_models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
1321
1321
|
cs_models/utils/alchemy.py,sha256=fhINGFn41owJ2DLXQKXAAtLqeZ1BRzD_qU0wPK_bsGQ,1598
|
|
1322
1322
|
cs_models/utils/utils.py,sha256=BzCDk3u1np7DoJQqCZIJN4f80JNHvJoWO4qEFgolN-8,4474
|
|
1323
1323
|
cs_models/utils/profiling/__init__.py,sha256=N-73vb0M92C975fxgXyBCBjCPELl8Oh21ZY_-tzDnns,569
|
|
1324
|
-
cs_models-0.0.
|
|
1325
|
-
cs_models-0.0.
|
|
1326
|
-
cs_models-0.0.
|
|
1327
|
-
cs_models-0.0.
|
|
1324
|
+
cs_models-0.0.813.dist-info/METADATA,sha256=7k9dw2I7LxpRjzIuXx4HT4KzogI6QIoZ6Hy6fDg6-Wk,751
|
|
1325
|
+
cs_models-0.0.813.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
1326
|
+
cs_models-0.0.813.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
|
|
1327
|
+
cs_models-0.0.813.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|