airia 0.1.18__py3-none-any.whl → 0.1.20__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.
- airia/client/pipelines_config/async_pipelines_config.py +65 -0
- airia/client/pipelines_config/base_pipelines_config.py +38 -0
- airia/client/pipelines_config/sync_pipelines_config.py +65 -0
- airia/types/api/pipelines_config/__init__.py +6 -0
- airia/types/api/pipelines_config/export_pipeline_definition.py +2 -2
- airia/types/api/pipelines_config/get_pipelines_config.py +381 -0
- {airia-0.1.18.dist-info → airia-0.1.20.dist-info}/METADATA +1 -1
- {airia-0.1.18.dist-info → airia-0.1.20.dist-info}/RECORD +11 -10
- {airia-0.1.18.dist-info → airia-0.1.20.dist-info}/WHEEL +0 -0
- {airia-0.1.18.dist-info → airia-0.1.20.dist-info}/licenses/LICENSE +0 -0
- {airia-0.1.18.dist-info → airia-0.1.20.dist-info}/top_level.txt +0 -0
|
@@ -4,6 +4,7 @@ from ...types._api_version import ApiVersion
|
|
|
4
4
|
from ...types.api.pipelines_config import (
|
|
5
5
|
PipelineConfigResponse,
|
|
6
6
|
ExportPipelineDefinitionResponse,
|
|
7
|
+
GetPipelinesConfigResponse,
|
|
7
8
|
)
|
|
8
9
|
from .._request_handler import AsyncRequestHandler
|
|
9
10
|
from .base_pipelines_config import BasePipelinesConfig
|
|
@@ -123,3 +124,67 @@ class AsyncPipelinesConfig(BasePipelinesConfig):
|
|
|
123
124
|
resp = await self._request_handler.make_request("GET", request_data)
|
|
124
125
|
|
|
125
126
|
return ExportPipelineDefinitionResponse(**resp)
|
|
127
|
+
|
|
128
|
+
async def get_pipelines_config(
|
|
129
|
+
self, project_id: Optional[str] = None, correlation_id: Optional[str] = None
|
|
130
|
+
) -> GetPipelinesConfigResponse:
|
|
131
|
+
"""
|
|
132
|
+
Retrieve a list of pipeline configurations, optionally filtered by project ID.
|
|
133
|
+
|
|
134
|
+
This method fetches a list of pipeline configurations including their
|
|
135
|
+
deployment details, execution statistics, version information, and metadata.
|
|
136
|
+
The results can be filtered by project ID to retrieve only pipelines
|
|
137
|
+
belonging to a specific project.
|
|
138
|
+
|
|
139
|
+
Args:
|
|
140
|
+
project_id (str, optional): The unique identifier of the project to filter
|
|
141
|
+
pipelines by. If not provided, pipelines from all accessible projects
|
|
142
|
+
will be returned.
|
|
143
|
+
correlation_id (str, optional): A unique identifier for request tracing
|
|
144
|
+
and logging. If not provided, one will be automatically generated.
|
|
145
|
+
|
|
146
|
+
Returns:
|
|
147
|
+
GetPipelinesConfigResponse: A response object containing the list of
|
|
148
|
+
pipeline configurations and the total count.
|
|
149
|
+
|
|
150
|
+
Raises:
|
|
151
|
+
AiriaAPIError: If the API request fails, including cases where:
|
|
152
|
+
- Authentication fails (401)
|
|
153
|
+
- Access is forbidden (403)
|
|
154
|
+
- Server errors (5xx)
|
|
155
|
+
|
|
156
|
+
Example:
|
|
157
|
+
```python
|
|
158
|
+
from airia import AiriaAsyncClient
|
|
159
|
+
|
|
160
|
+
client = AiriaAsyncClient(api_key="your_api_key")
|
|
161
|
+
|
|
162
|
+
# Get all pipeline configurations
|
|
163
|
+
pipelines = await client.pipelines_config.get_pipelines_config()
|
|
164
|
+
print(f"Total pipelines: {pipelines.total_count}")
|
|
165
|
+
for pipeline in pipelines.items:
|
|
166
|
+
print(f"Pipeline: {pipeline.name}")
|
|
167
|
+
print(f"Execution name: {pipeline.execution_name}")
|
|
168
|
+
if pipeline.execution_stats:
|
|
169
|
+
print(f"Success count: {pipeline.execution_stats.success_count}")
|
|
170
|
+
|
|
171
|
+
# Get pipelines for a specific project
|
|
172
|
+
project_pipelines = await client.pipelines_config.get_pipelines_config(
|
|
173
|
+
project_id="your_project_id"
|
|
174
|
+
)
|
|
175
|
+
print(f"Project pipelines: {project_pipelines.total_count}")
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Note:
|
|
179
|
+
This method retrieves pipeline configuration information only. To execute
|
|
180
|
+
a pipeline, use the execute_pipeline() method with the appropriate
|
|
181
|
+
pipeline identifier.
|
|
182
|
+
"""
|
|
183
|
+
request_data = self._pre_get_pipelines_config(
|
|
184
|
+
project_id=project_id,
|
|
185
|
+
correlation_id=correlation_id,
|
|
186
|
+
api_version=ApiVersion.V1.value,
|
|
187
|
+
)
|
|
188
|
+
resp = await self._request_handler.make_request("GET", request_data)
|
|
189
|
+
|
|
190
|
+
return GetPipelinesConfigResponse(**resp)
|
|
@@ -76,3 +76,41 @@ class BasePipelinesConfig:
|
|
|
76
76
|
)
|
|
77
77
|
|
|
78
78
|
return request_data
|
|
79
|
+
|
|
80
|
+
def _pre_get_pipelines_config(
|
|
81
|
+
self,
|
|
82
|
+
project_id: Optional[str] = None,
|
|
83
|
+
correlation_id: Optional[str] = None,
|
|
84
|
+
api_version: str = ApiVersion.V1.value,
|
|
85
|
+
):
|
|
86
|
+
"""
|
|
87
|
+
Prepare request data for getting pipelines configuration endpoint.
|
|
88
|
+
|
|
89
|
+
Args:
|
|
90
|
+
project_id: Optional project ID filter
|
|
91
|
+
correlation_id: Optional correlation ID for tracing
|
|
92
|
+
api_version: API version to use for the request
|
|
93
|
+
|
|
94
|
+
Returns:
|
|
95
|
+
RequestData: Prepared request data for the pipelines config endpoint
|
|
96
|
+
|
|
97
|
+
Raises:
|
|
98
|
+
ValueError: If an invalid API version is provided
|
|
99
|
+
"""
|
|
100
|
+
if api_version not in ApiVersion.as_list():
|
|
101
|
+
raise ValueError(
|
|
102
|
+
f"Invalid API version: {api_version}. Valid versions are: {', '.join(ApiVersion.as_list())}"
|
|
103
|
+
)
|
|
104
|
+
url = urljoin(
|
|
105
|
+
self._request_handler.base_url,
|
|
106
|
+
f"{api_version}/PipelinesConfig",
|
|
107
|
+
)
|
|
108
|
+
params = {}
|
|
109
|
+
if project_id is not None:
|
|
110
|
+
params["projectId"] = project_id
|
|
111
|
+
|
|
112
|
+
request_data = self._request_handler.prepare_request(
|
|
113
|
+
url, params=params, correlation_id=correlation_id
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
return request_data
|
|
@@ -4,6 +4,7 @@ from ...types._api_version import ApiVersion
|
|
|
4
4
|
from ...types.api.pipelines_config import (
|
|
5
5
|
PipelineConfigResponse,
|
|
6
6
|
ExportPipelineDefinitionResponse,
|
|
7
|
+
GetPipelinesConfigResponse,
|
|
7
8
|
)
|
|
8
9
|
from .._request_handler import RequestHandler
|
|
9
10
|
from .base_pipelines_config import BasePipelinesConfig
|
|
@@ -123,3 +124,67 @@ class PipelinesConfig(BasePipelinesConfig):
|
|
|
123
124
|
resp = self._request_handler.make_request("GET", request_data)
|
|
124
125
|
|
|
125
126
|
return ExportPipelineDefinitionResponse(**resp)
|
|
127
|
+
|
|
128
|
+
def get_pipelines_config(
|
|
129
|
+
self, project_id: Optional[str] = None, correlation_id: Optional[str] = None
|
|
130
|
+
) -> GetPipelinesConfigResponse:
|
|
131
|
+
"""
|
|
132
|
+
Retrieve a list of pipeline configurations, optionally filtered by project ID.
|
|
133
|
+
|
|
134
|
+
This method fetches a list of pipeline configurations including their
|
|
135
|
+
deployment details, execution statistics, version information, and metadata.
|
|
136
|
+
The results can be filtered by project ID to retrieve only pipelines
|
|
137
|
+
belonging to a specific project.
|
|
138
|
+
|
|
139
|
+
Args:
|
|
140
|
+
project_id (str, optional): The unique identifier of the project to filter
|
|
141
|
+
pipelines by. If not provided, pipelines from all accessible projects
|
|
142
|
+
will be returned.
|
|
143
|
+
correlation_id (str, optional): A unique identifier for request tracing
|
|
144
|
+
and logging. If not provided, one will be automatically generated.
|
|
145
|
+
|
|
146
|
+
Returns:
|
|
147
|
+
GetPipelinesConfigResponse: A response object containing the list of
|
|
148
|
+
pipeline configurations and the total count.
|
|
149
|
+
|
|
150
|
+
Raises:
|
|
151
|
+
AiriaAPIError: If the API request fails, including cases where:
|
|
152
|
+
- Authentication fails (401)
|
|
153
|
+
- Access is forbidden (403)
|
|
154
|
+
- Server errors (5xx)
|
|
155
|
+
|
|
156
|
+
Example:
|
|
157
|
+
```python
|
|
158
|
+
from airia import AiriaClient
|
|
159
|
+
|
|
160
|
+
client = AiriaClient(api_key="your_api_key")
|
|
161
|
+
|
|
162
|
+
# Get all pipeline configurations
|
|
163
|
+
pipelines = client.pipelines_config.get_pipelines_config()
|
|
164
|
+
print(f"Total pipelines: {pipelines.total_count}")
|
|
165
|
+
for pipeline in pipelines.items:
|
|
166
|
+
print(f"Pipeline: {pipeline.name}")
|
|
167
|
+
print(f"Execution name: {pipeline.execution_name}")
|
|
168
|
+
if pipeline.execution_stats:
|
|
169
|
+
print(f"Success count: {pipeline.execution_stats.success_count}")
|
|
170
|
+
|
|
171
|
+
# Get pipelines for a specific project
|
|
172
|
+
project_pipelines = client.pipelines_config.get_pipelines_config(
|
|
173
|
+
project_id="your_project_id"
|
|
174
|
+
)
|
|
175
|
+
print(f"Project pipelines: {project_pipelines.total_count}")
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Note:
|
|
179
|
+
This method retrieves pipeline configuration information only. To execute
|
|
180
|
+
a pipeline, use the execute_pipeline() method with the appropriate
|
|
181
|
+
pipeline identifier.
|
|
182
|
+
"""
|
|
183
|
+
request_data = self._pre_get_pipelines_config(
|
|
184
|
+
project_id=project_id,
|
|
185
|
+
correlation_id=correlation_id,
|
|
186
|
+
api_version=ApiVersion.V1.value,
|
|
187
|
+
)
|
|
188
|
+
resp = self._request_handler.make_request("GET", request_data)
|
|
189
|
+
|
|
190
|
+
return GetPipelinesConfigResponse(**resp)
|
|
@@ -16,6 +16,10 @@ from .get_pipeline_config import (
|
|
|
16
16
|
PipelineStepPosition,
|
|
17
17
|
PipelineVersion,
|
|
18
18
|
)
|
|
19
|
+
from .get_pipelines_config import (
|
|
20
|
+
GetPipelinesConfigResponse,
|
|
21
|
+
PipelineConfigItem,
|
|
22
|
+
)
|
|
19
23
|
from .export_pipeline_definition import (
|
|
20
24
|
AgentDetailItemDefinition,
|
|
21
25
|
ExportPipelineDefinitionResponse,
|
|
@@ -52,7 +56,9 @@ __all__ = [
|
|
|
52
56
|
"DeploymentAssignment",
|
|
53
57
|
"DeploymentUserPrompt",
|
|
54
58
|
"ExportPipelineDefinitionResponse",
|
|
59
|
+
"GetPipelinesConfigResponse",
|
|
55
60
|
"Pipeline",
|
|
61
|
+
"PipelineConfigItem",
|
|
56
62
|
"PipelineConfigResponse",
|
|
57
63
|
"PipelineExecutionStats",
|
|
58
64
|
"PipelineStep",
|
|
@@ -278,8 +278,8 @@ class ExportPipeline(BaseModel):
|
|
|
278
278
|
steps: List of pipeline steps that make up the workflow
|
|
279
279
|
"""
|
|
280
280
|
name: str = Field(..., description="Gets or sets the name.")
|
|
281
|
-
execution_name: str = Field(
|
|
282
|
-
|
|
281
|
+
execution_name: Optional[str] = Field(
|
|
282
|
+
None, description="Gets or sets the execution name.", alias="executionName"
|
|
283
283
|
)
|
|
284
284
|
agent_description: str = Field(
|
|
285
285
|
..., description="Gets or sets the description.", alias="agentDescription"
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
"""Types for the get_pipelines_config API response.
|
|
2
|
+
|
|
3
|
+
This module defines data structures for the pipelines configuration list endpoint,
|
|
4
|
+
including pipeline configurations with their deployment details, execution statistics,
|
|
5
|
+
version information, and metadata.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
from datetime import datetime
|
|
11
|
+
from typing import Any, List, Optional
|
|
12
|
+
|
|
13
|
+
from pydantic import BaseModel, Field
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class PipelineExecutionStats(BaseModel):
|
|
17
|
+
"""Statistics about pipeline executions.
|
|
18
|
+
|
|
19
|
+
Attributes:
|
|
20
|
+
success_count: Number of successful executions
|
|
21
|
+
failure_count: Number of failed executions
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
success_count: int = Field(
|
|
25
|
+
alias="successCount", description="Number of successful executions"
|
|
26
|
+
)
|
|
27
|
+
failure_count: int = Field(
|
|
28
|
+
alias="failureCount", description="Number of failed executions"
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class PipelineVersion(BaseModel):
|
|
33
|
+
"""Represents a version of a pipeline.
|
|
34
|
+
|
|
35
|
+
Attributes:
|
|
36
|
+
pipeline_id: The unique identifier of the pipeline
|
|
37
|
+
major_version: Major version number
|
|
38
|
+
minor_version: Minor version number
|
|
39
|
+
version_number: Full version number as string
|
|
40
|
+
is_draft_version: Whether this is a draft version
|
|
41
|
+
is_latest: Whether this is the latest version
|
|
42
|
+
steps: Pipeline steps (optional)
|
|
43
|
+
alignment: Layout alignment of the pipeline
|
|
44
|
+
description: Version description (optional)
|
|
45
|
+
version_name: Name of the version (optional)
|
|
46
|
+
is_deprecated: Whether this version is deprecated
|
|
47
|
+
id: Unique identifier for this version
|
|
48
|
+
tenant_id: Tenant identifier
|
|
49
|
+
project_id: Project identifier
|
|
50
|
+
created_at: Creation timestamp
|
|
51
|
+
updated_at: Last update timestamp
|
|
52
|
+
user_id: User identifier who created this version
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
pipeline_id: str = Field(
|
|
56
|
+
alias="pipelineId", description="The unique identifier of the pipeline"
|
|
57
|
+
)
|
|
58
|
+
major_version: int = Field(alias="majorVersion", description="Major version number")
|
|
59
|
+
minor_version: int = Field(alias="minorVersion", description="Minor version number")
|
|
60
|
+
version_number: str = Field(
|
|
61
|
+
alias="versionNumber", description="Full version number as string"
|
|
62
|
+
)
|
|
63
|
+
is_draft_version: bool = Field(
|
|
64
|
+
alias="isDraftVersion", description="Whether this is a draft version"
|
|
65
|
+
)
|
|
66
|
+
is_latest: bool = Field(
|
|
67
|
+
alias="isLatest", description="Whether this is the latest version"
|
|
68
|
+
)
|
|
69
|
+
steps: Optional[Any] = Field(None, description="Pipeline steps")
|
|
70
|
+
alignment: str = Field(description="Layout alignment of the pipeline")
|
|
71
|
+
description: Optional[str] = Field(None, description="Version description")
|
|
72
|
+
version_name: Optional[str] = Field(
|
|
73
|
+
alias="versionName", default=None, description="Name of the version"
|
|
74
|
+
)
|
|
75
|
+
is_deprecated: bool = Field(
|
|
76
|
+
alias="isDeprecated", description="Whether this version is deprecated"
|
|
77
|
+
)
|
|
78
|
+
id: str = Field(description="Unique identifier for this version")
|
|
79
|
+
tenant_id: str = Field(alias="tenantId", description="Tenant identifier")
|
|
80
|
+
project_id: str = Field(alias="projectId", description="Project identifier")
|
|
81
|
+
created_at: datetime = Field(alias="createdAt", description="Creation timestamp")
|
|
82
|
+
updated_at: datetime = Field(alias="updatedAt", description="Last update timestamp")
|
|
83
|
+
user_id: Optional[str] = Field(
|
|
84
|
+
alias="userId",
|
|
85
|
+
default=None,
|
|
86
|
+
description="User identifier who created this version",
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
class DeploymentAssignment(BaseModel):
|
|
91
|
+
"""Represents a deployment assignment.
|
|
92
|
+
|
|
93
|
+
This is a placeholder for deployment assignment data structure.
|
|
94
|
+
"""
|
|
95
|
+
|
|
96
|
+
pass
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class Deployment(BaseModel):
|
|
100
|
+
"""Represents a deployment configuration.
|
|
101
|
+
|
|
102
|
+
Attributes:
|
|
103
|
+
pipeline_id: The pipeline identifier this deployment belongs to
|
|
104
|
+
name: Name of the deployment
|
|
105
|
+
description: Description of the deployment
|
|
106
|
+
pipeline: Pipeline details (optional)
|
|
107
|
+
deployment_user_prompts: User prompts for deployment (optional)
|
|
108
|
+
deployment_prompt: Deployment prompt (optional)
|
|
109
|
+
project_id: Project identifier
|
|
110
|
+
is_recommended: Whether this deployment is recommended
|
|
111
|
+
tags: List of tags associated with the deployment
|
|
112
|
+
deployment_type: Type of deployment
|
|
113
|
+
conversation_type: Type of conversation
|
|
114
|
+
about: About information (optional)
|
|
115
|
+
is_deployed_via_assistants: Whether deployed via assistants
|
|
116
|
+
assignments: List of deployment assignments
|
|
117
|
+
supported_input_modes: List of supported input modes
|
|
118
|
+
id: Unique identifier for the deployment
|
|
119
|
+
tenant_id: Tenant identifier
|
|
120
|
+
created_at: Creation timestamp
|
|
121
|
+
updated_at: Last update timestamp
|
|
122
|
+
user_id: User identifier who created the deployment
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
pipeline_id: str = Field(
|
|
126
|
+
alias="pipelineId",
|
|
127
|
+
description="The pipeline identifier this deployment belongs to",
|
|
128
|
+
)
|
|
129
|
+
name: str = Field(description="Name of the deployment")
|
|
130
|
+
description: str = Field(description="Description of the deployment")
|
|
131
|
+
pipeline: Optional[Any] = Field(None, description="Pipeline details")
|
|
132
|
+
deployment_user_prompts: Optional[Any] = Field(
|
|
133
|
+
alias="deploymentUserPrompts",
|
|
134
|
+
default=None,
|
|
135
|
+
description="User prompts for deployment",
|
|
136
|
+
)
|
|
137
|
+
deployment_prompt: Optional[str] = Field(
|
|
138
|
+
alias="deploymentPrompt", default=None, description="Deployment prompt"
|
|
139
|
+
)
|
|
140
|
+
project_id: str = Field(alias="projectId", description="Project identifier")
|
|
141
|
+
is_recommended: bool = Field(
|
|
142
|
+
alias="isRecommended", description="Whether this deployment is recommended"
|
|
143
|
+
)
|
|
144
|
+
tags: List[str] = Field(
|
|
145
|
+
default_factory=list, description="List of tags associated with the deployment"
|
|
146
|
+
)
|
|
147
|
+
deployment_type: str = Field(
|
|
148
|
+
alias="deploymentType", description="Type of deployment"
|
|
149
|
+
)
|
|
150
|
+
conversation_type: str = Field(
|
|
151
|
+
alias="conversationType", description="Type of conversation"
|
|
152
|
+
)
|
|
153
|
+
about: Optional[Any] = Field(None, description="About information")
|
|
154
|
+
is_deployed_via_assistants: bool = Field(
|
|
155
|
+
alias="isDeployedViaAssistants", description="Whether deployed via assistants"
|
|
156
|
+
)
|
|
157
|
+
assignments: List[DeploymentAssignment] = Field(
|
|
158
|
+
default_factory=list, description="List of deployment assignments"
|
|
159
|
+
)
|
|
160
|
+
supported_input_modes: List[str] = Field(
|
|
161
|
+
alias="supportedInputModes", description="List of supported input modes"
|
|
162
|
+
)
|
|
163
|
+
id: str = Field(description="Unique identifier for the deployment")
|
|
164
|
+
tenant_id: str = Field(alias="tenantId", description="Tenant identifier")
|
|
165
|
+
created_at: datetime = Field(alias="createdAt", description="Creation timestamp")
|
|
166
|
+
updated_at: datetime = Field(alias="updatedAt", description="Last update timestamp")
|
|
167
|
+
user_id: Optional[str] = Field(
|
|
168
|
+
alias="userId",
|
|
169
|
+
default=None,
|
|
170
|
+
description="User identifier who created the deployment",
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
class AgentTrigger(BaseModel):
|
|
175
|
+
"""Represents an agent trigger configuration.
|
|
176
|
+
|
|
177
|
+
Attributes:
|
|
178
|
+
email_id: Email identifier for the trigger
|
|
179
|
+
allowed_type: Type of allowed values
|
|
180
|
+
allowed_values: Comma-separated allowed values
|
|
181
|
+
pipeline_id: Pipeline identifier
|
|
182
|
+
data_source_id: Data source identifier (optional)
|
|
183
|
+
store_connector_id: Store connector identifier
|
|
184
|
+
email_action: Email action to perform
|
|
185
|
+
forward_to: Forward destination (optional)
|
|
186
|
+
id: Unique identifier for the trigger
|
|
187
|
+
tenant_id: Tenant identifier
|
|
188
|
+
project_id: Project identifier
|
|
189
|
+
created_at: Creation timestamp
|
|
190
|
+
updated_at: Last update timestamp
|
|
191
|
+
user_id: User identifier who created the trigger
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
email_id: str = Field(
|
|
195
|
+
alias="emailId", description="Email identifier for the trigger"
|
|
196
|
+
)
|
|
197
|
+
allowed_type: str = Field(alias="allowedType", description="Type of allowed values")
|
|
198
|
+
allowed_values: str = Field(
|
|
199
|
+
alias="allowedValues", description="Comma-separated allowed values"
|
|
200
|
+
)
|
|
201
|
+
pipeline_id: str = Field(alias="pipelineId", description="Pipeline identifier")
|
|
202
|
+
data_source_id: Optional[str] = Field(
|
|
203
|
+
alias="dataSourceId", default=None, description="Data source identifier"
|
|
204
|
+
)
|
|
205
|
+
store_connector_id: Optional[str] = Field(
|
|
206
|
+
alias="storeConnectorId", default=None, description="Store connector identifier"
|
|
207
|
+
)
|
|
208
|
+
email_action: str = Field(
|
|
209
|
+
alias="emailAction", description="Email action to perform"
|
|
210
|
+
)
|
|
211
|
+
forward_to: Optional[str] = Field(
|
|
212
|
+
alias="forwardTo", default=None, description="Forward destination"
|
|
213
|
+
)
|
|
214
|
+
id: str = Field(description="Unique identifier for the trigger")
|
|
215
|
+
tenant_id: str = Field(alias="tenantId", description="Tenant identifier")
|
|
216
|
+
project_id: str = Field(alias="projectId", description="Project identifier")
|
|
217
|
+
created_at: datetime = Field(alias="createdAt", description="Creation timestamp")
|
|
218
|
+
updated_at: datetime = Field(alias="updatedAt", description="Last update timestamp")
|
|
219
|
+
user_id: Optional[str] = Field(
|
|
220
|
+
alias="userId",
|
|
221
|
+
default=None,
|
|
222
|
+
description="User identifier who created the trigger",
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
class PipelineConfigItem(BaseModel):
|
|
227
|
+
"""Represents a single pipeline configuration item.
|
|
228
|
+
|
|
229
|
+
Attributes:
|
|
230
|
+
deployment_id: Deployment identifier (optional)
|
|
231
|
+
deployment_name: Name of the deployment
|
|
232
|
+
deployment_description: Description of the deployment
|
|
233
|
+
user_keys: User keys (optional)
|
|
234
|
+
group_keys: Group keys (optional)
|
|
235
|
+
agent_icon: Agent icon (optional)
|
|
236
|
+
external: Whether this is an external pipeline
|
|
237
|
+
active_version_id: ID of the active version
|
|
238
|
+
name: Name of the pipeline
|
|
239
|
+
execution_name: Execution name for the pipeline
|
|
240
|
+
description: Description of the pipeline
|
|
241
|
+
video_link: Link to video documentation
|
|
242
|
+
agent_icon_id: Agent icon identifier (optional)
|
|
243
|
+
agent_unicode_icon: Unicode icon for the agent
|
|
244
|
+
versions: List of pipeline versions
|
|
245
|
+
execution_stats: Execution statistics
|
|
246
|
+
industry: Industry category
|
|
247
|
+
sub_industries: Sub-industry categories (optional)
|
|
248
|
+
agent_details: Agent details (optional)
|
|
249
|
+
agent_details_tags: Agent details tags (optional)
|
|
250
|
+
active_version: The active version details
|
|
251
|
+
backup_pipeline_id: Backup pipeline ID (optional)
|
|
252
|
+
deployment: Deployment configuration (optional)
|
|
253
|
+
library_agent_id: Library agent ID (optional)
|
|
254
|
+
library_imported_hash: Hash of imported library
|
|
255
|
+
library_imported_version: Version of imported library
|
|
256
|
+
is_deleted: Whether this pipeline is deleted (optional)
|
|
257
|
+
agent_trigger: Agent trigger configuration (optional)
|
|
258
|
+
api_key_id: API key identifier (optional)
|
|
259
|
+
is_seeded: Whether this pipeline is seeded
|
|
260
|
+
behaviours: Behaviours configuration (optional)
|
|
261
|
+
department_id: Department identifier (optional)
|
|
262
|
+
department: Department information (optional)
|
|
263
|
+
id: Unique identifier for the pipeline
|
|
264
|
+
tenant_id: Tenant identifier
|
|
265
|
+
project_id: Project identifier
|
|
266
|
+
created_at: Creation timestamp
|
|
267
|
+
updated_at: Last update timestamp
|
|
268
|
+
user_id: User identifier who created the pipeline
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
deployment_id: Optional[str] = Field(
|
|
272
|
+
alias="deploymentId", default=None, description="Deployment identifier"
|
|
273
|
+
)
|
|
274
|
+
deployment_name: str = Field(
|
|
275
|
+
alias="deploymentName", description="Name of the deployment"
|
|
276
|
+
)
|
|
277
|
+
deployment_description: str = Field(
|
|
278
|
+
alias="deploymentDescription", description="Description of the deployment"
|
|
279
|
+
)
|
|
280
|
+
user_keys: Optional[Any] = Field(
|
|
281
|
+
alias="userKeys", default=None, description="User keys"
|
|
282
|
+
)
|
|
283
|
+
group_keys: Optional[Any] = Field(
|
|
284
|
+
alias="groupKeys", default=None, description="Group keys"
|
|
285
|
+
)
|
|
286
|
+
agent_icon: Optional[Any] = Field(
|
|
287
|
+
alias="agentIcon", default=None, description="Agent icon"
|
|
288
|
+
)
|
|
289
|
+
external: bool = Field(description="Whether this is an external pipeline")
|
|
290
|
+
active_version_id: str = Field(
|
|
291
|
+
alias="activeVersionId", description="ID of the active version"
|
|
292
|
+
)
|
|
293
|
+
name: str = Field(description="Name of the pipeline")
|
|
294
|
+
execution_name: str = Field(
|
|
295
|
+
alias="executionName", description="Execution name for the pipeline"
|
|
296
|
+
)
|
|
297
|
+
description: str = Field(description="Description of the pipeline")
|
|
298
|
+
video_link: str = Field(
|
|
299
|
+
alias="videoLink", description="Link to video documentation"
|
|
300
|
+
)
|
|
301
|
+
agent_icon_id: Optional[str] = Field(
|
|
302
|
+
alias="agentIconId", default=None, description="Agent icon identifier"
|
|
303
|
+
)
|
|
304
|
+
agent_unicode_icon: str = Field(
|
|
305
|
+
alias="agentUnicodeIcon", description="Unicode icon for the agent"
|
|
306
|
+
)
|
|
307
|
+
versions: List[PipelineVersion] = Field(description="List of pipeline versions")
|
|
308
|
+
execution_stats: Optional[PipelineExecutionStats] = Field(
|
|
309
|
+
alias="executionStats", default=None, description="Execution statistics"
|
|
310
|
+
)
|
|
311
|
+
industry: str = Field(description="Industry category")
|
|
312
|
+
sub_industries: Optional[Any] = Field(
|
|
313
|
+
alias="subIndustries", default=None, description="Sub-industry categories"
|
|
314
|
+
)
|
|
315
|
+
agent_details: Optional[Any] = Field(
|
|
316
|
+
alias="agentDetails", default=None, description="Agent details"
|
|
317
|
+
)
|
|
318
|
+
agent_details_tags: Optional[Any] = Field(
|
|
319
|
+
alias="agentDetailsTags", default=None, description="Agent details tags"
|
|
320
|
+
)
|
|
321
|
+
active_version: PipelineVersion = Field(
|
|
322
|
+
alias="activeVersion", description="The active version details"
|
|
323
|
+
)
|
|
324
|
+
backup_pipeline_id: Optional[str] = Field(
|
|
325
|
+
alias="backupPipelineId", default=None, description="Backup pipeline ID"
|
|
326
|
+
)
|
|
327
|
+
deployment: Optional[Deployment] = Field(
|
|
328
|
+
None, description="Deployment configuration"
|
|
329
|
+
)
|
|
330
|
+
library_agent_id: Optional[str] = Field(
|
|
331
|
+
alias="libraryAgentId", default=None, description="Library agent ID"
|
|
332
|
+
)
|
|
333
|
+
library_imported_hash: str = Field(
|
|
334
|
+
alias="libraryImportedHash", description="Hash of imported library"
|
|
335
|
+
)
|
|
336
|
+
library_imported_version: str = Field(
|
|
337
|
+
alias="libraryImportedVersion", description="Version of imported library"
|
|
338
|
+
)
|
|
339
|
+
is_deleted: Optional[bool] = Field(
|
|
340
|
+
alias="isDeleted", default=None, description="Whether this pipeline is deleted"
|
|
341
|
+
)
|
|
342
|
+
agent_trigger: Optional[AgentTrigger] = Field(
|
|
343
|
+
alias="agentTrigger", default=None, description="Agent trigger configuration"
|
|
344
|
+
)
|
|
345
|
+
api_key_id: Optional[str] = Field(
|
|
346
|
+
alias="apiKeyId", default=None, description="API key identifier"
|
|
347
|
+
)
|
|
348
|
+
is_seeded: bool = Field(
|
|
349
|
+
alias="isSeeded", description="Whether this pipeline is seeded"
|
|
350
|
+
)
|
|
351
|
+
behaviours: Optional[Any] = Field(None, description="Behaviours configuration")
|
|
352
|
+
department_id: Optional[str] = Field(
|
|
353
|
+
alias="departmentId", default=None, description="Department identifier"
|
|
354
|
+
)
|
|
355
|
+
department: Optional[Any] = Field(None, description="Department information")
|
|
356
|
+
id: str = Field(description="Unique identifier for the pipeline")
|
|
357
|
+
tenant_id: str = Field(alias="tenantId", description="Tenant identifier")
|
|
358
|
+
project_id: str = Field(alias="projectId", description="Project identifier")
|
|
359
|
+
created_at: datetime = Field(alias="createdAt", description="Creation timestamp")
|
|
360
|
+
updated_at: datetime = Field(alias="updatedAt", description="Last update timestamp")
|
|
361
|
+
user_id: Optional[str] = Field(
|
|
362
|
+
alias="userId",
|
|
363
|
+
default=None,
|
|
364
|
+
description="User identifier who created the pipeline",
|
|
365
|
+
)
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
class GetPipelinesConfigResponse(BaseModel):
|
|
369
|
+
"""Response model for the get_pipelines_config endpoint.
|
|
370
|
+
|
|
371
|
+
Attributes:
|
|
372
|
+
items: List of pipeline configuration items
|
|
373
|
+
total_count: Total count of pipeline configurations
|
|
374
|
+
"""
|
|
375
|
+
|
|
376
|
+
items: List[PipelineConfigItem] = Field(
|
|
377
|
+
description="List of pipeline configuration items"
|
|
378
|
+
)
|
|
379
|
+
total_count: int = Field(
|
|
380
|
+
alias="totalCount", description="Total count of pipeline configurations"
|
|
381
|
+
)
|
|
@@ -27,9 +27,9 @@ airia/client/pipeline_execution/async_pipeline_execution.py,sha256=66rTEMwdfOYsN
|
|
|
27
27
|
airia/client/pipeline_execution/base_pipeline_execution.py,sha256=yOjqbFBedm0t_bS4_WAjAi71EQ76SFozWMKtZ2ZQxYc,4127
|
|
28
28
|
airia/client/pipeline_execution/sync_pipeline_execution.py,sha256=Mz4-GW5ipfUkJ7gru-xZAY3CBqPp97mWfZwUy5nUFY4,7682
|
|
29
29
|
airia/client/pipelines_config/__init__.py,sha256=Mjn3ie-bQo6zjayxrJDvoJG2vKis72yGt_CQkvtREw4,163
|
|
30
|
-
airia/client/pipelines_config/async_pipelines_config.py,sha256=
|
|
31
|
-
airia/client/pipelines_config/base_pipelines_config.py,sha256=
|
|
32
|
-
airia/client/pipelines_config/sync_pipelines_config.py,sha256=
|
|
30
|
+
airia/client/pipelines_config/async_pipelines_config.py,sha256=H3W5yCUWsd93cq1i-PdQXyq6MG_dW0Jq7pjU2ZfqNf0,7611
|
|
31
|
+
airia/client/pipelines_config/base_pipelines_config.py,sha256=UotK6-SB19fUSlUEHM_aNQTWD4GLlRUynF-Gs0Nvu0c,3917
|
|
32
|
+
airia/client/pipelines_config/sync_pipelines_config.py,sha256=qSfPAWEn4lyDcd8wVcTskX4ArWaU5d7lFmBw0sttQCA,7507
|
|
33
33
|
airia/client/project/__init__.py,sha256=GGEGfxtNzSO_BMAJ8Wfo8ZTq8BIdR6MHf6gSwhPv9mE,113
|
|
34
34
|
airia/client/project/async_project.py,sha256=OrIiqopKSXAhkYJi6yjoR-YYVUxzll1ldDJkJW1rIBM,4534
|
|
35
35
|
airia/client/project/base_project.py,sha256=4vP_dKGAt17mdzp3eW3ER8E0C0XMQ9P7JAEH2EH0imE,2432
|
|
@@ -51,9 +51,10 @@ airia/types/api/deployments/get_deployment.py,sha256=KBr9edTu-e-tC3u9bpAdz0CMWzk
|
|
|
51
51
|
airia/types/api/deployments/get_deployments.py,sha256=5Dm7pTkEFmIZ4p4Scle9x9p3Nqy5tnXxeft3H4O_Fa8,8718
|
|
52
52
|
airia/types/api/pipeline_execution/__init__.py,sha256=01Cf0Cx-RZygtgQvYajSrikxmtUYbsDcBzFk7hkNnGc,360
|
|
53
53
|
airia/types/api/pipeline_execution/_pipeline_execution.py,sha256=cJ2icsQvG5K15crNNbymje9B2tJduc_D64OnNXF043U,2429
|
|
54
|
-
airia/types/api/pipelines_config/__init__.py,sha256=
|
|
55
|
-
airia/types/api/pipelines_config/export_pipeline_definition.py,sha256=
|
|
54
|
+
airia/types/api/pipelines_config/__init__.py,sha256=tNYV8AEGsKMfH4nMb-KGDfH1kvHO2b6VSoTB7TYQ7N8,2188
|
|
55
|
+
airia/types/api/pipelines_config/export_pipeline_definition.py,sha256=LzSA4d1KauZ5bccRp8K2bc0Kv0ELujxYJ9w5twrieek,38043
|
|
56
56
|
airia/types/api/pipelines_config/get_pipeline_config.py,sha256=UEGnvzBPHAJMJEcMOKLZWXenaL96iyYoWt0zZjyzEUg,23514
|
|
57
|
+
airia/types/api/pipelines_config/get_pipelines_config.py,sha256=RbiX5zISxzGRxzPGHe7QpO-Ro-0woQsPGLxtiP4Y4K4,15955
|
|
57
58
|
airia/types/api/project/__init__.py,sha256=ervHvCeqt08JkMRsSrG1ZnQshE70of-8kf4VeW2HG9c,113
|
|
58
59
|
airia/types/api/project/get_projects.py,sha256=Ot8mq6VnXrGXZs7FQ0UuRYSyuCeER7YeCCZlGb4ZyQo,3646
|
|
59
60
|
airia/types/api/store/__init__.py,sha256=BgViwV_SHE9cxtilPnA2xWRk6MkAbxYxansmGeZR3nw,341
|
|
@@ -62,8 +63,8 @@ airia/types/api/store/get_files.py,sha256=v22zmOuTSFqzrS73L5JL_FgBeF5a5wutv1nK4I
|
|
|
62
63
|
airia/types/sse/__init__.py,sha256=KWnNTfsQnthfrU128pUX6ounvSS7DvjC-Y21FE-OdMk,1863
|
|
63
64
|
airia/types/sse/sse_messages.py,sha256=asq9KG5plT2XSgQMz-Nqo0WcKlXvE8UT3E-WLhCegPk,30244
|
|
64
65
|
airia/utils/sse_parser.py,sha256=XCTkuaroYWaVQOgBq8VpbseQYSAVruF69AvKUwZQKTA,4251
|
|
65
|
-
airia-0.1.
|
|
66
|
-
airia-0.1.
|
|
67
|
-
airia-0.1.
|
|
68
|
-
airia-0.1.
|
|
69
|
-
airia-0.1.
|
|
66
|
+
airia-0.1.20.dist-info/licenses/LICENSE,sha256=R3ClUMMKPRItIcZ0svzyj2taZZnFYw568YDNzN9KQ1Q,1066
|
|
67
|
+
airia-0.1.20.dist-info/METADATA,sha256=kC45u6Z6WpavxzRR6t9fbxKreOdU9DY4jxpEY148KbI,4506
|
|
68
|
+
airia-0.1.20.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
69
|
+
airia-0.1.20.dist-info/top_level.txt,sha256=qUQEKfs_hdOYTwjKj1JZbRhS5YeXDNaKQaVTrzabS6w,6
|
|
70
|
+
airia-0.1.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|