cs-models 0.0.810__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.
- cs_models/resources/AssistantSession/models.py +1 -0
- cs_models/resources/AssistantSession/schemas.py +1 -0
- cs_models/resources/SmartDefGridRun/models.py +7 -0
- cs_models/resources/SmartDefGridRun/schemas.py +2 -0
- {cs_models-0.0.810.dist-info → cs_models-0.0.812.dist-info}/METADATA +1 -1
- {cs_models-0.0.810.dist-info → cs_models-0.0.812.dist-info}/RECORD +8 -8
- {cs_models-0.0.810.dist-info → cs_models-0.0.812.dist-info}/WHEEL +0 -0
- {cs_models-0.0.810.dist-info → cs_models-0.0.812.dist-info}/top_level.txt +0 -0
|
@@ -17,6 +17,7 @@ class AssistantSessionModel(Base):
|
|
|
17
17
|
user_id = Column(String(128), nullable=False)
|
|
18
18
|
type = Column(String(50), nullable=False)
|
|
19
19
|
label = Column(String(128), nullable=False)
|
|
20
|
+
display_label = Column(String(128), nullable=True)
|
|
20
21
|
created_at = Column(
|
|
21
22
|
DateTime,
|
|
22
23
|
nullable=False,
|
|
@@ -9,6 +9,7 @@ class AssistantSessionResourceSchema(Schema):
|
|
|
9
9
|
user_id = fields.String(required=True)
|
|
10
10
|
type = fields.String(required=True)
|
|
11
11
|
label = fields.String(required=True)
|
|
12
|
+
display_label = fields.String(allow_none=True)
|
|
12
13
|
user_queries = fields.Nested(
|
|
13
14
|
AssistantUserQueryResourceSchema(exclude=("session_id",)),
|
|
14
15
|
many=True,
|
|
@@ -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
|
|
|
@@ -56,8 +56,8 @@ cs_models/resources/AssistantSearchCopilotMarkdown/__init__.py,sha256=47DEQpj8HB
|
|
|
56
56
|
cs_models/resources/AssistantSearchCopilotMarkdown/models.py,sha256=1kP7JU2Bxlcl_dG2aSg88SertHL4mcNrlCnoECHq3vU,760
|
|
57
57
|
cs_models/resources/AssistantSearchCopilotMarkdown/schemas.py,sha256=74k6fc1Ev9CBqLv_8YdxVIq_tppLP_1CKUYtH-nkcv0,291
|
|
58
58
|
cs_models/resources/AssistantSession/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
59
|
-
cs_models/resources/AssistantSession/models.py,sha256=
|
|
60
|
-
cs_models/resources/AssistantSession/schemas.py,sha256=
|
|
59
|
+
cs_models/resources/AssistantSession/models.py,sha256=V1raTICqQC4lOgFxEpOwVEiUht2RoA8cUVvFkoKHe2o,1592
|
|
60
|
+
cs_models/resources/AssistantSession/schemas.py,sha256=hxJhXtSKx_qf-vCi2lBIJjmX6uQOkgWv99iBoxGmNVw,882
|
|
61
61
|
cs_models/resources/AssistantUserQuery/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
62
62
|
cs_models/resources/AssistantUserQuery/models.py,sha256=Je_-aQ702dWxQSTH398dspF8_glRCHtSA6_LdWLW410,1823
|
|
63
63
|
cs_models/resources/AssistantUserQuery/schemas.py,sha256=ju2-XM9xdXCNwcFy0YDzJ0dH0Nj2BxTRZPqnItFZMVo,1819
|
|
@@ -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=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.
|
|
1325
|
-
cs_models-0.0.
|
|
1326
|
-
cs_models-0.0.
|
|
1327
|
-
cs_models-0.0.
|
|
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,,
|
|
File without changes
|
|
File without changes
|