structifyai 1.180.0__py3-none-any.whl → 1.182.0__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.
- structify/_base_client.py +5 -2
- structify/_compat.py +3 -3
- structify/_utils/_json.py +35 -0
- structify/_version.py +1 -1
- structify/resources/__init__.py +0 -2
- structify/resources/connector_catalog/admin.py +76 -0
- structify/resources/polars.py +2 -7
- structify/resources/sessions.py +83 -0
- structify/resources/teams.py +12 -76
- structify/resources/wiki.py +9 -10
- structify/resources/workflow.py +7 -1
- structify/types/__init__.py +5 -4
- structify/types/admin/admin_sandbox.py +0 -2
- structify/types/{team_create_link_code_params.py → cell_edit_param.py} +7 -3
- structify/types/chat_create_session_params.py +1 -0
- structify/types/code_generate_code_params.py +1 -0
- structify/types/dashboard_component.py +7 -45
- structify/types/dashboard_component_param.py +8 -52
- structify/types/dashboard_page.py +3 -3
- structify/types/dashboard_page_param.py +3 -3
- structify/types/job_event_body.py +4 -0
- structify/types/parquet_edit_param.py +29 -0
- structify/types/session_edit_node_output_params.py +14 -0
- structify/types/session_edit_node_output_response.py +11 -0
- structify/types/team_update_params.py +6 -0
- structify/types/usage_group_key.py +1 -0
- structify/types/user_info.py +4 -0
- structify/types/wiki_list_response.py +3 -22
- structify/types/{wiki_create_response.py → wiki_page.py} +2 -2
- structify/types/wiki_page_with_references.py +2 -18
- structify/types/workflow_run_params.py +3 -0
- structify/types/workflow_session_node.py +2 -0
- {structifyai-1.180.0.dist-info → structifyai-1.182.0.dist-info}/METADATA +1 -1
- {structifyai-1.180.0.dist-info → structifyai-1.182.0.dist-info}/RECORD +36 -36
- structify/resources/external.py +0 -99
- structify/resources/external_dataframe_proxy.py +0 -290
- structify/types/teams_link_code_response.py +0 -13
- structify/types/wiki_update_response.py +0 -23
- {structifyai-1.180.0.dist-info → structifyai-1.182.0.dist-info}/WHEEL +0 -0
- {structifyai-1.180.0.dist-info → structifyai-1.182.0.dist-info}/licenses/LICENSE +0 -0
structify/resources/workflow.py
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from typing import Optional
|
|
6
|
+
|
|
5
7
|
import httpx
|
|
6
8
|
|
|
7
9
|
from ..types import workflow_run_params, workflow_stop_params
|
|
8
|
-
from .._types import Body, Query, Headers, NoneType, NotGiven, not_given
|
|
10
|
+
from .._types import Body, Omit, Query, Headers, NoneType, NotGiven, omit, not_given
|
|
9
11
|
from .._utils import maybe_transform, async_maybe_transform
|
|
10
12
|
from .._compat import cached_property
|
|
11
13
|
from .._resource import SyncAPIResource, AsyncAPIResource
|
|
@@ -45,6 +47,7 @@ class WorkflowResource(SyncAPIResource):
|
|
|
45
47
|
*,
|
|
46
48
|
chat_session_id: str,
|
|
47
49
|
use_node_cache: bool,
|
|
50
|
+
edited_node_name: Optional[str] | Omit = omit,
|
|
48
51
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
49
52
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
50
53
|
extra_headers: Headers | None = None,
|
|
@@ -69,6 +72,7 @@ class WorkflowResource(SyncAPIResource):
|
|
|
69
72
|
{
|
|
70
73
|
"chat_session_id": chat_session_id,
|
|
71
74
|
"use_node_cache": use_node_cache,
|
|
75
|
+
"edited_node_name": edited_node_name,
|
|
72
76
|
},
|
|
73
77
|
workflow_run_params.WorkflowRunParams,
|
|
74
78
|
),
|
|
@@ -135,6 +139,7 @@ class AsyncWorkflowResource(AsyncAPIResource):
|
|
|
135
139
|
*,
|
|
136
140
|
chat_session_id: str,
|
|
137
141
|
use_node_cache: bool,
|
|
142
|
+
edited_node_name: Optional[str] | Omit = omit,
|
|
138
143
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
139
144
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
140
145
|
extra_headers: Headers | None = None,
|
|
@@ -159,6 +164,7 @@ class AsyncWorkflowResource(AsyncAPIResource):
|
|
|
159
164
|
{
|
|
160
165
|
"chat_session_id": chat_session_id,
|
|
161
166
|
"use_node_cache": use_node_cache,
|
|
167
|
+
"edited_node_name": edited_node_name,
|
|
162
168
|
},
|
|
163
169
|
workflow_run_params.WorkflowRunParams,
|
|
164
170
|
),
|
structify/types/__init__.py
CHANGED
|
@@ -15,6 +15,7 @@ from .connector import Connector as Connector
|
|
|
15
15
|
from .dashboard import Dashboard as Dashboard
|
|
16
16
|
from .team_role import TeamRole as TeamRole
|
|
17
17
|
from .user_info import UserInfo as UserInfo
|
|
18
|
+
from .wiki_page import WikiPage as WikiPage
|
|
18
19
|
from .chat_event import ChatEvent as ChatEvent
|
|
19
20
|
from .chat_prompt import ChatPrompt as ChatPrompt
|
|
20
21
|
from .granularity import Granularity as Granularity
|
|
@@ -37,6 +38,7 @@ from .strategy_param import StrategyParam as StrategyParam
|
|
|
37
38
|
from .team_with_role import TeamWithRole as TeamWithRole
|
|
38
39
|
from .token_response import TokenResponse as TokenResponse
|
|
39
40
|
from .autofix_context import AutofixContext as AutofixContext
|
|
41
|
+
from .cell_edit_param import CellEditParam as CellEditParam
|
|
40
42
|
from .chat_dependency import ChatDependency as ChatDependency
|
|
41
43
|
from .chat_visibility import ChatVisibility as ChatVisibility
|
|
42
44
|
from .dashboard_param import DashboardParam as DashboardParam
|
|
@@ -67,6 +69,7 @@ from .dataset_get_params import DatasetGetParams as DatasetGetParams
|
|
|
67
69
|
from .entity_view_params import EntityViewParams as EntityViewParams
|
|
68
70
|
from .exploration_status import ExplorationStatus as ExplorationStatus
|
|
69
71
|
from .merge_config_param import MergeConfigParam as MergeConfigParam
|
|
72
|
+
from .parquet_edit_param import ParquetEditParam as ParquetEditParam
|
|
70
73
|
from .project_visibility import ProjectVisibility as ProjectVisibility
|
|
71
74
|
from .relationship_param import RelationshipParam as RelationshipParam
|
|
72
75
|
from .sandbox_get_params import SandboxGetParams as SandboxGetParams
|
|
@@ -115,8 +118,6 @@ from .select_team_response import SelectTeamResponse as SelectTeamResponse
|
|
|
115
118
|
from .source_list_response import SourceListResponse as SourceListResponse
|
|
116
119
|
from .structure_pdf_params import StructurePdfParams as StructurePdfParams
|
|
117
120
|
from .update_team_response import UpdateTeamResponse as UpdateTeamResponse
|
|
118
|
-
from .wiki_create_response import WikiCreateResponse as WikiCreateResponse
|
|
119
|
-
from .wiki_update_response import WikiUpdateResponse as WikiUpdateResponse
|
|
120
121
|
from .workflow_stop_params import WorkflowStopParams as WorkflowStopParams
|
|
121
122
|
from .connector_auth_method import ConnectorAuthMethod as ConnectorAuthMethod
|
|
122
123
|
from .connector_list_params import ConnectorListParams as ConnectorListParams
|
|
@@ -177,7 +178,6 @@ from .match_create_jobs_params import MatchCreateJobsParams as MatchCreateJobsPa
|
|
|
177
178
|
from .refresh_session_response import RefreshSessionResponse as RefreshSessionResponse
|
|
178
179
|
from .session_kill_jobs_params import SessionKillJobsParams as SessionKillJobsParams
|
|
179
180
|
from .team_subscription_status import TeamSubscriptionStatus as TeamSubscriptionStatus
|
|
180
|
-
from .teams_link_code_response import TeamsLinkCodeResponse as TeamsLinkCodeResponse
|
|
181
181
|
from .wiki_connector_reference import WikiConnectorReference as WikiConnectorReference
|
|
182
182
|
from .chat_list_sessions_params import ChatListSessionsParams as ChatListSessionsParams
|
|
183
183
|
from .code_generate_code_params import CodeGenerateCodeParams as CodeGenerateCodeParams
|
|
@@ -247,7 +247,6 @@ from .entity_upload_parquet_params import EntityUploadParquetParams as EntityUpl
|
|
|
247
247
|
from .sandbox_update_status_params import SandboxUpdateStatusParams as SandboxUpdateStatusParams
|
|
248
248
|
from .structure_is_complete_params import StructureIsCompleteParams as StructureIsCompleteParams
|
|
249
249
|
from .structure_run_async_response import StructureRunAsyncResponse as StructureRunAsyncResponse
|
|
250
|
-
from .team_create_link_code_params import TeamCreateLinkCodeParams as TeamCreateLinkCodeParams
|
|
251
250
|
from .chat_admin_issue_found_params import ChatAdminIssueFoundParams as ChatAdminIssueFoundParams
|
|
252
251
|
from .chat_update_visibility_params import ChatUpdateVisibilityParams as ChatUpdateVisibilityParams
|
|
253
252
|
from .connector_catalog_list_params import ConnectorCatalogListParams as ConnectorCatalogListParams
|
|
@@ -277,6 +276,7 @@ from .workflow_schedule_pause_params import WorkflowSchedulePauseParams as Workf
|
|
|
277
276
|
from .chat_get_partial_chats_response import ChatGetPartialChatsResponse as ChatGetPartialChatsResponse
|
|
278
277
|
from .connector_catalog_list_response import ConnectorCatalogListResponse as ConnectorCatalogListResponse
|
|
279
278
|
from .entity_update_property_response import EntityUpdatePropertyResponse as EntityUpdatePropertyResponse
|
|
279
|
+
from .session_edit_node_output_params import SessionEditNodeOutputParams as SessionEditNodeOutputParams
|
|
280
280
|
from .workflow_schedule_create_params import WorkflowScheduleCreateParams as WorkflowScheduleCreateParams
|
|
281
281
|
from .workflow_schedule_update_params import WorkflowScheduleUpdateParams as WorkflowScheduleUpdateParams
|
|
282
282
|
from .chat_grant_admin_override_params import ChatGrantAdminOverrideParams as ChatGrantAdminOverrideParams
|
|
@@ -294,6 +294,7 @@ from .dataset_view_relationships_params import DatasetViewRelationshipsParams as
|
|
|
294
294
|
from .entity_delete_relationship_params import EntityDeleteRelationshipParams as EntityDeleteRelationshipParams
|
|
295
295
|
from .entity_get_source_entities_params import EntityGetSourceEntitiesParams as EntityGetSourceEntitiesParams
|
|
296
296
|
from .relationship_merge_strategy_param import RelationshipMergeStrategyParam as RelationshipMergeStrategyParam
|
|
297
|
+
from .session_edit_node_output_response import SessionEditNodeOutputResponse as SessionEditNodeOutputResponse
|
|
297
298
|
from .source_delete_relationship_params import SourceDeleteRelationshipParams as SourceDeleteRelationshipParams
|
|
298
299
|
from .structure_enhance_property_params import StructureEnhancePropertyParams as StructureEnhancePropertyParams
|
|
299
300
|
from .chat_get_session_timeline_response import ChatGetSessionTimelineResponse as ChatGetSessionTimelineResponse
|
|
@@ -4,8 +4,12 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
from typing_extensions import Required, TypedDict
|
|
6
6
|
|
|
7
|
-
__all__ = ["
|
|
7
|
+
__all__ = ["CellEditParam"]
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class
|
|
11
|
-
|
|
10
|
+
class CellEditParam(TypedDict, total=False):
|
|
11
|
+
column_name: Required[str]
|
|
12
|
+
|
|
13
|
+
row_index: Required[int]
|
|
14
|
+
|
|
15
|
+
value: Required[str]
|
|
@@ -44,6 +44,7 @@ class Config(TypedDict, total=False):
|
|
|
44
44
|
"bedrock.claude-sonnet-4-bedrock",
|
|
45
45
|
"bedrock.claude-sonnet-4-5-bedrock",
|
|
46
46
|
"bedrock.claude-opus-4-5-bedrock",
|
|
47
|
+
"bedrock.claude-opus-4-6-bedrock",
|
|
47
48
|
"bedrock.claude-haiku-4-5-bedrock",
|
|
48
49
|
"gemini.gemini-2.5-pro",
|
|
49
50
|
"gemini.gemini-2.5-flash",
|
|
@@ -53,6 +53,7 @@ class Config(TypedDict, total=False):
|
|
|
53
53
|
"bedrock.claude-sonnet-4-bedrock",
|
|
54
54
|
"bedrock.claude-sonnet-4-5-bedrock",
|
|
55
55
|
"bedrock.claude-opus-4-5-bedrock",
|
|
56
|
+
"bedrock.claude-opus-4-6-bedrock",
|
|
56
57
|
"bedrock.claude-haiku-4-5-bedrock",
|
|
57
58
|
"gemini.gemini-2.5-pro",
|
|
58
59
|
"gemini.gemini-2.5-flash",
|
|
@@ -1,61 +1,23 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
from typing import
|
|
4
|
-
from typing_extensions import TypeAlias
|
|
5
|
-
|
|
6
|
-
from pydantic import Field as FieldInfo
|
|
3
|
+
from typing import Optional
|
|
7
4
|
|
|
8
5
|
from .._models import BaseModel
|
|
9
6
|
|
|
10
|
-
__all__ = ["DashboardComponent"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class MosaicFieldsUnionMember2(BaseModel):
|
|
14
|
-
expr: str
|
|
15
|
-
|
|
16
|
-
target: Optional[str] = None
|
|
17
|
-
"""Optional Plotly property path (e.g., marker.color) to assign this column to"""
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
MosaicFields: TypeAlias = Union[str, bool, MosaicFieldsUnionMember2]
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class MosaicBin(BaseModel):
|
|
24
|
-
as_: str = FieldInfo(alias="as")
|
|
25
|
-
|
|
26
|
-
field: str
|
|
27
|
-
|
|
28
|
-
step: float
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class Mosaic(BaseModel):
|
|
32
|
-
fields: Dict[str, MosaicFields]
|
|
33
|
-
|
|
34
|
-
bin: Optional[MosaicBin] = None
|
|
35
|
-
|
|
36
|
-
group_by: Optional[List[str]] = FieldInfo(alias="groupBy", default=None)
|
|
37
|
-
|
|
38
|
-
limit: Optional[int] = None
|
|
39
|
-
|
|
40
|
-
order_by: Optional[str] = FieldInfo(alias="orderBy", default=None)
|
|
41
|
-
|
|
42
|
-
table: Optional[str] = None
|
|
43
|
-
"""Table name - optional, derived from datasetNodeName in dashboard config"""
|
|
7
|
+
__all__ = ["DashboardComponent"]
|
|
44
8
|
|
|
45
9
|
|
|
46
10
|
class DashboardComponent(BaseModel):
|
|
47
|
-
"""A component references a viz node and
|
|
11
|
+
"""A component references a viz node and optional display metadata."""
|
|
48
12
|
|
|
49
13
|
node_name: str
|
|
50
|
-
"""Function name of the viz node that outputs the chart spec"""
|
|
14
|
+
"""Function name of the viz node that outputs the chart spec."""
|
|
51
15
|
|
|
52
16
|
title: str
|
|
53
|
-
"""Display title
|
|
17
|
+
"""Display title shown in the dashboard layout."""
|
|
54
18
|
|
|
55
19
|
description: Optional[str] = None
|
|
56
|
-
"""
|
|
57
|
-
|
|
58
|
-
mosaic: Optional[Mosaic] = None
|
|
20
|
+
"""Optional description shown under the component title."""
|
|
59
21
|
|
|
60
22
|
span: Optional[int] = None
|
|
61
|
-
"""Grid span: 1 (quarter), 2 (half), 3 (three-quarters), 4 (full width)"""
|
|
23
|
+
"""Grid span: 1 (quarter), 2 (half), 3 (three-quarters), 4 (full width)."""
|
|
@@ -2,67 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import
|
|
6
|
-
from typing_extensions import Required,
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import Required, TypedDict
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
from .._utils import PropertyInfo
|
|
10
|
-
|
|
11
|
-
__all__ = ["DashboardComponentParam", "Mosaic", "MosaicFields", "MosaicFieldsUnionMember2", "MosaicBin"]
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class MosaicFieldsUnionMember2(TypedDict, total=False):
|
|
15
|
-
expr: Required[str]
|
|
16
|
-
|
|
17
|
-
target: Optional[str]
|
|
18
|
-
"""Optional Plotly property path (e.g., marker.color) to assign this column to"""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
MosaicFields: TypeAlias = Union[str, bool, MosaicFieldsUnionMember2]
|
|
22
|
-
|
|
23
|
-
_MosaicBinReservedKeywords = TypedDict(
|
|
24
|
-
"_MosaicBinReservedKeywords",
|
|
25
|
-
{
|
|
26
|
-
"as": str,
|
|
27
|
-
},
|
|
28
|
-
total=False,
|
|
29
|
-
)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
class MosaicBin(_MosaicBinReservedKeywords, total=False):
|
|
33
|
-
field: Required[str]
|
|
34
|
-
|
|
35
|
-
step: Required[float]
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
class Mosaic(TypedDict, total=False):
|
|
39
|
-
fields: Required[Dict[str, MosaicFields]]
|
|
40
|
-
|
|
41
|
-
bin: Optional[MosaicBin]
|
|
42
|
-
|
|
43
|
-
group_by: Annotated[Optional[SequenceNotStr[str]], PropertyInfo(alias="groupBy")]
|
|
44
|
-
|
|
45
|
-
limit: Optional[int]
|
|
46
|
-
|
|
47
|
-
order_by: Annotated[Optional[str], PropertyInfo(alias="orderBy")]
|
|
48
|
-
|
|
49
|
-
table: Optional[str]
|
|
50
|
-
"""Table name - optional, derived from datasetNodeName in dashboard config"""
|
|
8
|
+
__all__ = ["DashboardComponentParam"]
|
|
51
9
|
|
|
52
10
|
|
|
53
11
|
class DashboardComponentParam(TypedDict, total=False):
|
|
54
|
-
"""A component references a viz node and
|
|
12
|
+
"""A component references a viz node and optional display metadata."""
|
|
55
13
|
|
|
56
14
|
node_name: Required[str]
|
|
57
|
-
"""Function name of the viz node that outputs the chart spec"""
|
|
15
|
+
"""Function name of the viz node that outputs the chart spec."""
|
|
58
16
|
|
|
59
17
|
title: Required[str]
|
|
60
|
-
"""Display title
|
|
18
|
+
"""Display title shown in the dashboard layout."""
|
|
61
19
|
|
|
62
20
|
description: Optional[str]
|
|
63
|
-
"""
|
|
64
|
-
|
|
65
|
-
mosaic: Optional[Mosaic]
|
|
21
|
+
"""Optional description shown under the component title."""
|
|
66
22
|
|
|
67
23
|
span: Optional[int]
|
|
68
|
-
"""Grid span: 1 (quarter), 2 (half), 3 (three-quarters), 4 (full width)"""
|
|
24
|
+
"""Grid span: 1 (quarter), 2 (half), 3 (three-quarters), 4 (full width)."""
|
|
@@ -92,9 +92,6 @@ class DashboardPage(BaseModel):
|
|
|
92
92
|
components: List[DashboardComponent]
|
|
93
93
|
"""Components (charts) in this dashboard"""
|
|
94
94
|
|
|
95
|
-
title: str
|
|
96
|
-
"""Title for this dashboard section"""
|
|
97
|
-
|
|
98
95
|
controls: Optional[List[Control]] = None
|
|
99
96
|
"""Control filters (dropdowns, checkboxes, ranges) for this dashboard"""
|
|
100
97
|
|
|
@@ -106,3 +103,6 @@ class DashboardPage(BaseModel):
|
|
|
106
103
|
|
|
107
104
|
description: Optional[str] = None
|
|
108
105
|
"""Optional description"""
|
|
106
|
+
|
|
107
|
+
title: Optional[str] = None
|
|
108
|
+
"""Title for this dashboard section"""
|
|
@@ -90,9 +90,6 @@ class DashboardPageParam(TypedDict, total=False):
|
|
|
90
90
|
components: Required[Iterable[DashboardComponentParam]]
|
|
91
91
|
"""Components (charts) in this dashboard"""
|
|
92
92
|
|
|
93
|
-
title: Required[str]
|
|
94
|
-
"""Title for this dashboard section"""
|
|
95
|
-
|
|
96
93
|
controls: Optional[Iterable[Control]]
|
|
97
94
|
"""Control filters (dropdowns, checkboxes, ranges) for this dashboard"""
|
|
98
95
|
|
|
@@ -104,3 +101,6 @@ class DashboardPageParam(TypedDict, total=False):
|
|
|
104
101
|
|
|
105
102
|
description: Optional[str]
|
|
106
103
|
"""Optional description"""
|
|
104
|
+
|
|
105
|
+
title: Optional[str]
|
|
106
|
+
"""Title for this dashboard section"""
|
|
@@ -125,10 +125,14 @@ class AttemptedMatch(BaseModel):
|
|
|
125
125
|
|
|
126
126
|
target: Dict[str, Union[str, bool, float]]
|
|
127
127
|
|
|
128
|
+
candidate_indices: Optional[List[int]] = None
|
|
129
|
+
|
|
128
130
|
match_idx: Optional[int] = None
|
|
129
131
|
|
|
130
132
|
raw_text: Optional[str] = None
|
|
131
133
|
|
|
134
|
+
source_entity_index: Optional[int] = None
|
|
135
|
+
|
|
132
136
|
|
|
133
137
|
class DatahubPageFetched(BaseModel):
|
|
134
138
|
datasets_in_page: int
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict, Union
|
|
6
|
+
from typing_extensions import Literal, Required, TypeAlias, TypedDict
|
|
7
|
+
|
|
8
|
+
from .cell_edit_param import CellEditParam
|
|
9
|
+
|
|
10
|
+
__all__ = ["ParquetEditParam", "EditCell", "DeleteRow", "AddRow"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class EditCell(CellEditParam, total=False):
|
|
14
|
+
type: Required[Literal["edit_cell"]]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class DeleteRow(TypedDict, total=False):
|
|
18
|
+
row_index: Required[int]
|
|
19
|
+
|
|
20
|
+
type: Required[Literal["delete_row"]]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class AddRow(TypedDict, total=False):
|
|
24
|
+
type: Required[Literal["add_row"]]
|
|
25
|
+
|
|
26
|
+
values: Required[Dict[str, str]]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
ParquetEditParam: TypeAlias = Union[EditCell, DeleteRow, AddRow]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Iterable
|
|
6
|
+
from typing_extensions import Required, TypedDict
|
|
7
|
+
|
|
8
|
+
from .parquet_edit_param import ParquetEditParam
|
|
9
|
+
|
|
10
|
+
__all__ = ["SessionEditNodeOutputParams"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class SessionEditNodeOutputParams(TypedDict, total=False):
|
|
14
|
+
edits: Required[Iterable[ParquetEditParam]]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from .._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["SessionEditNodeOutputResponse"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SessionEditNodeOutputResponse(BaseModel):
|
|
11
|
+
error_message: Optional[str] = None
|
structify/types/user_info.py
CHANGED
|
@@ -3,27 +3,8 @@
|
|
|
3
3
|
from typing import List
|
|
4
4
|
from typing_extensions import TypeAlias
|
|
5
5
|
|
|
6
|
-
from
|
|
6
|
+
from .wiki_page import WikiPage
|
|
7
7
|
|
|
8
|
-
__all__ = ["WikiListResponse"
|
|
8
|
+
__all__ = ["WikiListResponse"]
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
class WikiListResponseItem(BaseModel):
|
|
12
|
-
id: str
|
|
13
|
-
|
|
14
|
-
created_at: str
|
|
15
|
-
|
|
16
|
-
markdown: str
|
|
17
|
-
|
|
18
|
-
slug: str
|
|
19
|
-
|
|
20
|
-
team_id: str
|
|
21
|
-
|
|
22
|
-
title: str
|
|
23
|
-
|
|
24
|
-
updated_at: str
|
|
25
|
-
|
|
26
|
-
version: int
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
WikiListResponse: TypeAlias = List[WikiListResponseItem]
|
|
10
|
+
WikiListResponse: TypeAlias = List[WikiPage]
|
|
@@ -2,27 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
from typing import List
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from .wiki_page import WikiPage
|
|
6
6
|
from .wiki_connector_reference import WikiConnectorReference
|
|
7
7
|
|
|
8
8
|
__all__ = ["WikiPageWithReferences"]
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class WikiPageWithReferences(
|
|
12
|
-
id: str
|
|
13
|
-
|
|
14
|
-
created_at: str
|
|
15
|
-
|
|
16
|
-
markdown: str
|
|
17
|
-
|
|
11
|
+
class WikiPageWithReferences(WikiPage):
|
|
18
12
|
references: List[WikiConnectorReference]
|
|
19
|
-
|
|
20
|
-
slug: str
|
|
21
|
-
|
|
22
|
-
team_id: str
|
|
23
|
-
|
|
24
|
-
title: str
|
|
25
|
-
|
|
26
|
-
updated_at: str
|
|
27
|
-
|
|
28
|
-
version: int
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from typing import Optional
|
|
5
6
|
from typing_extensions import Required, TypedDict
|
|
6
7
|
|
|
7
8
|
__all__ = ["WorkflowRunParams"]
|
|
@@ -11,3 +12,5 @@ class WorkflowRunParams(TypedDict, total=False):
|
|
|
11
12
|
chat_session_id: Required[str]
|
|
12
13
|
|
|
13
14
|
use_node_cache: Required[bool]
|
|
15
|
+
|
|
16
|
+
edited_node_name: Optional[str]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: structifyai
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.182.0
|
|
4
4
|
Summary: The official Python library for the structify API
|
|
5
5
|
Project-URL: Homepage, https://github.com/StructifyAI/structify-python
|
|
6
6
|
Project-URL: Repository, https://github.com/StructifyAI/structify-python
|