structifyai 1.179.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/connectors/connectors.py +357 -1
- structify/resources/polars.py +2 -7
- structify/resources/sessions.py +83 -0
- structify/resources/slack.py +8 -8
- structify/resources/teams.py +12 -76
- structify/resources/wiki.py +22 -18
- structify/resources/workflow.py +7 -1
- structify/types/__init__.py +7 -3
- 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 +2 -0
- structify/types/code_generate_code_params.py +2 -0
- structify/types/connector_add_schema_object_params.py +59 -0
- structify/types/connector_add_schema_object_response.py +35 -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/llm_information_store.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/slack_event_payload_param.py +2 -2
- structify/types/slack_events_params.py +2 -2
- 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_create_params.py +1 -2
- structify/types/wiki_list_response.py +2 -2
- structify/types/wiki_page.py +23 -0
- structify/types/wiki_page_with_references.py +2 -2
- structify/types/wiki_update_params.py +4 -2
- structify/types/workflow_run_params.py +3 -0
- structify/types/workflow_session_node.py +2 -0
- {structifyai-1.179.0.dist-info → structifyai-1.182.0.dist-info}/METADATA +1 -1
- {structifyai-1.179.0.dist-info → structifyai-1.182.0.dist-info}/RECORD +45 -42
- structify/resources/external.py +0 -99
- structify/resources/external_dataframe_proxy.py +0 -290
- structify/types/team_wiki_page.py +0 -28
- structify/types/teams_link_code_response.py +0 -13
- {structifyai-1.179.0.dist-info → structifyai-1.182.0.dist-info}/WHEEL +0 -0
- {structifyai-1.179.0.dist-info → structifyai-1.182.0.dist-info}/licenses/LICENSE +0 -0
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
|
|
@@ -34,10 +35,10 @@ from .dashboard_page import DashboardPage as DashboardPage
|
|
|
34
35
|
from .job_event_body import JobEventBody as JobEventBody
|
|
35
36
|
from .project_member import ProjectMember as ProjectMember
|
|
36
37
|
from .strategy_param import StrategyParam as StrategyParam
|
|
37
|
-
from .team_wiki_page import TeamWikiPage as TeamWikiPage
|
|
38
38
|
from .team_with_role import TeamWithRole as TeamWithRole
|
|
39
39
|
from .token_response import TokenResponse as TokenResponse
|
|
40
40
|
from .autofix_context import AutofixContext as AutofixContext
|
|
41
|
+
from .cell_edit_param import CellEditParam as CellEditParam
|
|
41
42
|
from .chat_dependency import ChatDependency as ChatDependency
|
|
42
43
|
from .chat_visibility import ChatVisibility as ChatVisibility
|
|
43
44
|
from .dashboard_param import DashboardParam as DashboardParam
|
|
@@ -68,6 +69,7 @@ from .dataset_get_params import DatasetGetParams as DatasetGetParams
|
|
|
68
69
|
from .entity_view_params import EntityViewParams as EntityViewParams
|
|
69
70
|
from .exploration_status import ExplorationStatus as ExplorationStatus
|
|
70
71
|
from .merge_config_param import MergeConfigParam as MergeConfigParam
|
|
72
|
+
from .parquet_edit_param import ParquetEditParam as ParquetEditParam
|
|
71
73
|
from .project_visibility import ProjectVisibility as ProjectVisibility
|
|
72
74
|
from .relationship_param import RelationshipParam as RelationshipParam
|
|
73
75
|
from .sandbox_get_params import SandboxGetParams as SandboxGetParams
|
|
@@ -176,7 +178,6 @@ from .match_create_jobs_params import MatchCreateJobsParams as MatchCreateJobsPa
|
|
|
176
178
|
from .refresh_session_response import RefreshSessionResponse as RefreshSessionResponse
|
|
177
179
|
from .session_kill_jobs_params import SessionKillJobsParams as SessionKillJobsParams
|
|
178
180
|
from .team_subscription_status import TeamSubscriptionStatus as TeamSubscriptionStatus
|
|
179
|
-
from .teams_link_code_response import TeamsLinkCodeResponse as TeamsLinkCodeResponse
|
|
180
181
|
from .wiki_connector_reference import WikiConnectorReference as WikiConnectorReference
|
|
181
182
|
from .chat_list_sessions_params import ChatListSessionsParams as ChatListSessionsParams
|
|
182
183
|
from .code_generate_code_params import CodeGenerateCodeParams as CodeGenerateCodeParams
|
|
@@ -246,7 +247,6 @@ from .entity_upload_parquet_params import EntityUploadParquetParams as EntityUpl
|
|
|
246
247
|
from .sandbox_update_status_params import SandboxUpdateStatusParams as SandboxUpdateStatusParams
|
|
247
248
|
from .structure_is_complete_params import StructureIsCompleteParams as StructureIsCompleteParams
|
|
248
249
|
from .structure_run_async_response import StructureRunAsyncResponse as StructureRunAsyncResponse
|
|
249
|
-
from .team_create_link_code_params import TeamCreateLinkCodeParams as TeamCreateLinkCodeParams
|
|
250
250
|
from .chat_admin_issue_found_params import ChatAdminIssueFoundParams as ChatAdminIssueFoundParams
|
|
251
251
|
from .chat_update_visibility_params import ChatUpdateVisibilityParams as ChatUpdateVisibilityParams
|
|
252
252
|
from .connector_catalog_list_params import ConnectorCatalogListParams as ConnectorCatalogListParams
|
|
@@ -276,6 +276,7 @@ from .workflow_schedule_pause_params import WorkflowSchedulePauseParams as Workf
|
|
|
276
276
|
from .chat_get_partial_chats_response import ChatGetPartialChatsResponse as ChatGetPartialChatsResponse
|
|
277
277
|
from .connector_catalog_list_response import ConnectorCatalogListResponse as ConnectorCatalogListResponse
|
|
278
278
|
from .entity_update_property_response import EntityUpdatePropertyResponse as EntityUpdatePropertyResponse
|
|
279
|
+
from .session_edit_node_output_params import SessionEditNodeOutputParams as SessionEditNodeOutputParams
|
|
279
280
|
from .workflow_schedule_create_params import WorkflowScheduleCreateParams as WorkflowScheduleCreateParams
|
|
280
281
|
from .workflow_schedule_update_params import WorkflowScheduleUpdateParams as WorkflowScheduleUpdateParams
|
|
281
282
|
from .chat_grant_admin_override_params import ChatGrantAdminOverrideParams as ChatGrantAdminOverrideParams
|
|
@@ -293,9 +294,11 @@ from .dataset_view_relationships_params import DatasetViewRelationshipsParams as
|
|
|
293
294
|
from .entity_delete_relationship_params import EntityDeleteRelationshipParams as EntityDeleteRelationshipParams
|
|
294
295
|
from .entity_get_source_entities_params import EntityGetSourceEntitiesParams as EntityGetSourceEntitiesParams
|
|
295
296
|
from .relationship_merge_strategy_param import RelationshipMergeStrategyParam as RelationshipMergeStrategyParam
|
|
297
|
+
from .session_edit_node_output_response import SessionEditNodeOutputResponse as SessionEditNodeOutputResponse
|
|
296
298
|
from .source_delete_relationship_params import SourceDeleteRelationshipParams as SourceDeleteRelationshipParams
|
|
297
299
|
from .structure_enhance_property_params import StructureEnhancePropertyParams as StructureEnhancePropertyParams
|
|
298
300
|
from .chat_get_session_timeline_response import ChatGetSessionTimelineResponse as ChatGetSessionTimelineResponse
|
|
301
|
+
from .connector_add_schema_object_params import ConnectorAddSchemaObjectParams as ConnectorAddSchemaObjectParams
|
|
299
302
|
from .connector_get_explorer_chat_params import ConnectorGetExplorerChatParams as ConnectorGetExplorerChatParams
|
|
300
303
|
from .dataset_enrichment_progress_params import DatasetEnrichmentProgressParams as DatasetEnrichmentProgressParams
|
|
301
304
|
from .dataset_update_relationship_params import DatasetUpdateRelationshipParams as DatasetUpdateRelationshipParams
|
|
@@ -312,6 +315,7 @@ from .entity_get_source_entities_response import EntityGetSourceEntitiesResponse
|
|
|
312
315
|
from .session_request_confirmation_params import SessionRequestConfirmationParams as SessionRequestConfirmationParams
|
|
313
316
|
from .session_update_node_progress_params import SessionUpdateNodeProgressParams as SessionUpdateNodeProgressParams
|
|
314
317
|
from .structure_enhance_property_response import StructureEnhancePropertyResponse as StructureEnhancePropertyResponse
|
|
318
|
+
from .connector_add_schema_object_response import ConnectorAddSchemaObjectResponse as ConnectorAddSchemaObjectResponse
|
|
315
319
|
from .dataset_enrichment_progress_response import DatasetEnrichmentProgressResponse as DatasetEnrichmentProgressResponse
|
|
316
320
|
from .structure_find_relationship_response import StructureFindRelationshipResponse as StructureFindRelationshipResponse
|
|
317
321
|
from .connector_delete_schema_object_params import (
|
|
@@ -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,10 +44,12 @@ 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",
|
|
50
51
|
"gemini.gemini-3-pro-preview",
|
|
52
|
+
"gemini.gemini-3-flash-preview",
|
|
51
53
|
"vertex_anthropic.claude-sonnet-4-5-vertex",
|
|
52
54
|
]
|
|
53
55
|
]
|
|
@@ -53,10 +53,12 @@ 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",
|
|
59
60
|
"gemini.gemini-3-pro-preview",
|
|
61
|
+
"gemini.gemini-3-flash-preview",
|
|
60
62
|
"vertex_anthropic.claude-sonnet-4-5-vertex",
|
|
61
63
|
]
|
|
62
64
|
]
|
|
@@ -0,0 +1,59 @@
|
|
|
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 Union, Optional
|
|
6
|
+
from typing_extensions import Literal, Required, TypeAlias, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["ConnectorAddSchemaObjectParams", "Variant0", "Variant1", "Variant2", "Variant3"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Variant0(TypedDict, total=False):
|
|
12
|
+
name: Required[str]
|
|
13
|
+
|
|
14
|
+
type: Required[Literal["database"]]
|
|
15
|
+
|
|
16
|
+
description: Optional[str]
|
|
17
|
+
|
|
18
|
+
notes: Optional[str]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class Variant1(TypedDict, total=False):
|
|
22
|
+
database_id: Required[str]
|
|
23
|
+
|
|
24
|
+
name: Required[str]
|
|
25
|
+
|
|
26
|
+
type: Required[Literal["schema"]]
|
|
27
|
+
|
|
28
|
+
description: Optional[str]
|
|
29
|
+
|
|
30
|
+
notes: Optional[str]
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class Variant2(TypedDict, total=False):
|
|
34
|
+
name: Required[str]
|
|
35
|
+
|
|
36
|
+
schema_id: Required[str]
|
|
37
|
+
|
|
38
|
+
type: Required[Literal["table"]]
|
|
39
|
+
|
|
40
|
+
description: Optional[str]
|
|
41
|
+
|
|
42
|
+
endpoint: Optional[str]
|
|
43
|
+
|
|
44
|
+
notes: Optional[str]
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class Variant3(TypedDict, total=False):
|
|
48
|
+
column_type: Required[str]
|
|
49
|
+
|
|
50
|
+
name: Required[str]
|
|
51
|
+
|
|
52
|
+
table_id: Required[str]
|
|
53
|
+
|
|
54
|
+
type: Required[Literal["column"]]
|
|
55
|
+
|
|
56
|
+
notes: Optional[str]
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
ConnectorAddSchemaObjectParams: TypeAlias = Union[Variant0, Variant1, Variant2, Variant3]
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Union
|
|
4
|
+
from typing_extensions import Literal, TypeAlias
|
|
5
|
+
|
|
6
|
+
from .._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["ConnectorAddSchemaObjectResponse", "UnionMember0", "UnionMember1", "UnionMember2", "UnionMember3"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class UnionMember0(BaseModel):
|
|
12
|
+
id: str
|
|
13
|
+
|
|
14
|
+
type: Literal["database"]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class UnionMember1(BaseModel):
|
|
18
|
+
id: str
|
|
19
|
+
|
|
20
|
+
type: Literal["schema"]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class UnionMember2(BaseModel):
|
|
24
|
+
id: str
|
|
25
|
+
|
|
26
|
+
type: Literal["table"]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class UnionMember3(BaseModel):
|
|
30
|
+
id: str
|
|
31
|
+
|
|
32
|
+
type: Literal["column"]
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
ConnectorAddSchemaObjectResponse: TypeAlias = Union[UnionMember0, UnionMember1, UnionMember2, UnionMember3]
|
|
@@ -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
|
|
@@ -44,6 +44,8 @@ class DatabaseSchemaTable(BaseModel):
|
|
|
44
44
|
class DatabaseSchema(BaseModel):
|
|
45
45
|
"""Schema within a database"""
|
|
46
46
|
|
|
47
|
+
id: str
|
|
48
|
+
|
|
47
49
|
name: str
|
|
48
50
|
|
|
49
51
|
tables: List[DatabaseSchemaTable]
|
|
@@ -56,6 +58,8 @@ class DatabaseSchema(BaseModel):
|
|
|
56
58
|
class Database(BaseModel):
|
|
57
59
|
"""Database within a connector"""
|
|
58
60
|
|
|
61
|
+
id: str
|
|
62
|
+
|
|
59
63
|
name: str
|
|
60
64
|
|
|
61
65
|
schemas: List[DatabaseSchema]
|
|
@@ -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
|
|
@@ -59,6 +59,8 @@ class EventCallbackEvent(TypedDict, total=False):
|
|
|
59
59
|
class EventCallback(TypedDict, total=False):
|
|
60
60
|
event: Required[EventCallbackEvent]
|
|
61
61
|
|
|
62
|
+
event_id: Required[str]
|
|
63
|
+
|
|
62
64
|
team_id: Required[str]
|
|
63
65
|
|
|
64
66
|
type: Required[Literal["event_callback"]]
|
|
@@ -69,8 +71,6 @@ class EventCallback(TypedDict, total=False):
|
|
|
69
71
|
|
|
70
72
|
event_context: Optional[str]
|
|
71
73
|
|
|
72
|
-
event_id: Optional[str]
|
|
73
|
-
|
|
74
74
|
event_time: Optional[int]
|
|
75
75
|
|
|
76
76
|
|
|
@@ -21,6 +21,8 @@ class Variant0(TypedDict, total=False):
|
|
|
21
21
|
class Variant1(TypedDict, total=False):
|
|
22
22
|
event: Required[Variant1Event]
|
|
23
23
|
|
|
24
|
+
event_id: Required[str]
|
|
25
|
+
|
|
24
26
|
team_id: Required[str]
|
|
25
27
|
|
|
26
28
|
type: Required[Literal["event_callback"]]
|
|
@@ -31,8 +33,6 @@ class Variant1(TypedDict, total=False):
|
|
|
31
33
|
|
|
32
34
|
event_context: Optional[str]
|
|
33
35
|
|
|
34
|
-
event_id: Optional[str]
|
|
35
|
-
|
|
36
36
|
event_time: Optional[int]
|
|
37
37
|
|
|
38
38
|
|
structify/types/user_info.py
CHANGED
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Dict
|
|
6
5
|
from typing_extensions import Required, TypedDict
|
|
7
6
|
|
|
8
7
|
__all__ = ["WikiCreateParams"]
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
class WikiCreateParams(TypedDict, total=False):
|
|
12
|
-
|
|
11
|
+
markdown: Required[str]
|
|
13
12
|
|
|
14
13
|
slug: Required[str]
|
|
15
14
|
|
|
@@ -3,8 +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
8
|
__all__ = ["WikiListResponse"]
|
|
9
9
|
|
|
10
|
-
WikiListResponse: TypeAlias = List[
|
|
10
|
+
WikiListResponse: TypeAlias = List[WikiPage]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .._models import BaseModel
|
|
4
|
+
|
|
5
|
+
__all__ = ["WikiPage"]
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class WikiPage(BaseModel):
|
|
9
|
+
id: str
|
|
10
|
+
|
|
11
|
+
created_at: str
|
|
12
|
+
|
|
13
|
+
markdown: str
|
|
14
|
+
|
|
15
|
+
slug: str
|
|
16
|
+
|
|
17
|
+
team_id: str
|
|
18
|
+
|
|
19
|
+
title: str
|
|
20
|
+
|
|
21
|
+
updated_at: str
|
|
22
|
+
|
|
23
|
+
version: int
|
|
@@ -2,11 +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(
|
|
11
|
+
class WikiPageWithReferences(WikiPage):
|
|
12
12
|
references: List[WikiConnectorReference]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import
|
|
5
|
+
from typing import Optional
|
|
6
6
|
from typing_extensions import Required, TypedDict
|
|
7
7
|
|
|
8
8
|
__all__ = ["WikiUpdateParams"]
|
|
@@ -11,6 +11,8 @@ __all__ = ["WikiUpdateParams"]
|
|
|
11
11
|
class WikiUpdateParams(TypedDict, total=False):
|
|
12
12
|
team_id: Required[str]
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
markdown: Required[str]
|
|
15
|
+
|
|
16
|
+
base_version: Optional[int]
|
|
15
17
|
|
|
16
18
|
title: Optional[str]
|
|
@@ -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]
|