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

@@ -16,6 +16,11 @@ class SmartDefGridRunStatus(str, Enum):
16
16
  partial = "partial" # finished with some failed cells
17
17
 
18
18
 
19
+ class SmartDefGridRunScope(str, Enum):
20
+ all = "all"
21
+ empty_only = "empty_only"
22
+
23
+
19
24
  class SmartDefGridRunModel(Base):
20
25
  __tablename__ = "smart_def_grid_runs"
21
26
 
@@ -26,6 +31,8 @@ class SmartDefGridRunModel(Base):
26
31
  outline_json = Column(JSON, nullable=False) # new outline created for this run
27
32
  original_table_json = Column(JSON, nullable=False) # stamped block at run start
28
33
 
34
+ scope_mode = Column(SAEnum(SmartDefGridRunScope), nullable=False, default=SmartDefGridRunScope.all)
35
+
29
36
  # execution metadata
30
37
  status = Column(
31
38
  SAEnum(
@@ -16,6 +16,8 @@ class SmartDefGridRunResourceSchema(Schema):
16
16
  outline_json = fields.Raw(required=True)
17
17
  original_table_json = fields.Raw(required=True)
18
18
 
19
+ scope_mode = fields.String(required=True)
20
+
19
21
  status = fields.String(required=True)
20
22
  started_by_user_id = fields.String(required=True)
21
23
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cs-models
3
- Version: 0.0.811
3
+ Version: 0.0.812
4
4
  Summary: MySQL db models
5
5
  Home-page: https://github.com/mindgram/cs-models
6
6
  Author: Shrey Verma
@@ -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=LMrguTz0u1l8pDkI2hAmG0zW-jzVkq6u54-sOMuWlUg,1952
976
- cs_models/resources/SmartDefGridRun/schemas.py,sha256=VQeBvql_e_K9cGKmDR6t8GMkJjkYW_HxaB4lvaHmQpI,1156
975
+ cs_models/resources/SmartDefGridRun/models.py,sha256=3UlafpIygw-aa1pfRETnYx6Nqofnkyo7lLVqmrOroFg,2144
976
+ cs_models/resources/SmartDefGridRun/schemas.py,sha256=vIkgNBhI3349837tSzXYPUN9QtO2mP7HAxqo8vuGuhE,1203
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.811.dist-info/METADATA,sha256=_ZT9VyT1SlfFsgYtrTiMLlpLkc_QBZ2NivqYLh9Yqes,751
1325
- cs_models-0.0.811.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1326
- cs_models-0.0.811.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1327
- cs_models-0.0.811.dist-info/RECORD,,
1324
+ cs_models-0.0.812.dist-info/METADATA,sha256=s66HYt2_VxhzMlfmFU-3Nle6BqtEGOU_l4w2FaybCJU,751
1325
+ cs_models-0.0.812.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1326
+ cs_models-0.0.812.dist-info/top_level.txt,sha256=M7CA8Nh5t0vRManQ9gHfphhO16uhMqIbfaxr1jPDg18,10
1327
+ cs_models-0.0.812.dist-info/RECORD,,