groundx 2.6.0__tar.gz → 2.6.2__tar.gz
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 groundx might be problematic. Click here for more details.
- {groundx-2.6.0 → groundx-2.6.2}/PKG-INFO +1 -1
- {groundx-2.6.0 → groundx-2.6.2}/pyproject.toml +1 -1
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/__init__.py +3 -3
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/client.py +3 -3
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/client_wrapper.py +2 -2
- {groundx-2.6.0/src/groundx/workflow → groundx-2.6.2/src/groundx/workflows}/client.py +65 -77
- {groundx-2.6.0/src/groundx/workflow → groundx-2.6.2/src/groundx/workflows}/raw_client.py +22 -20
- {groundx-2.6.0 → groundx-2.6.2}/LICENSE +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/README.md +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/buckets/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/buckets/client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/buckets/raw_client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/api_error.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/datetime_utils.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/file.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/force_multipart.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/http_client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/http_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/jsonable_encoder.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/pydantic_utilities.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/query_encoder.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/remove_none_from_dict.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/request_options.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/core/serialization.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/csv_splitter.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/customer/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/customer/client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/customer/raw_client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/documents/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/documents/client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/documents/raw_client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/environment.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/errors/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/errors/bad_request_error.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/errors/unauthorized_error.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/agents/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/agents/agent.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/agent.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/api.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/document.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/field.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/groundx.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/prompt.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/test_document.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/test_field.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/test_groundx.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/classes/test_prompt.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/post_process/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/post_process/post_process.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/.DS_Store +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/csv.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/logger.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/logging_cfg.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/ratelimit.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/sheets_client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/status.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/upload.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/upload_minio.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/upload_s3.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/services/utility.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/settings/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/settings/settings.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/settings/test_settings.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/tasks/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/tasks/utility.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/utility/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/utility/classes.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/extract/utility/test_utility.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/groups/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/groups/client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/groups/raw_client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/health/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/health/client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/health/raw_client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/ingest.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/py.typed +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/search/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/search/client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/search/raw_client.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/search/types/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/search/types/search_content_request_id.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/__init__.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/bounding_box_detail.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/bucket_detail.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/bucket_list_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/bucket_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/bucket_update_detail.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/bucket_update_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/customer_detail.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/customer_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/document.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/document_detail.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/document_list_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/document_local_ingest_request.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/document_lookup_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/document_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/document_type.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/group_detail.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/group_list_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/group_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/health_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/health_response_health.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/health_service.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/health_service_status.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_local_document.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_local_document_metadata.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_remote_document.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_status.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_status_light.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_status_progress.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_status_progress_cancelled.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_status_progress_complete.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_status_progress_errors.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/ingest_status_progress_processing.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/message_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/meter_detail.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/process_level.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/processes_status_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/processing_status.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/search_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/search_response_search.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/search_result_item.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/search_result_item_pages_item.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/sort.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/sort_order.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/subscription_detail.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/subscription_detail_meters.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/website_source.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_apply_request.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_detail.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_detail_relationships.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_engine.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_engine_reasoning_effort.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_engine_service.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_prompt.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_prompt_group.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_prompt_role.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_step.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_steps.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_steps_chunk_instruct.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_steps_chunk_summary.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_steps_doc_keys.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_steps_doc_summary.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_steps_search_query.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_steps_sect_instruct.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflow_steps_sect_summary.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/types/workflows_response.py +0 -0
- {groundx-2.6.0 → groundx-2.6.2}/src/groundx/version.py +0 -0
- {groundx-2.6.0/src/groundx/workflow → groundx-2.6.2/src/groundx/workflows}/__init__.py +0 -0
- {groundx-2.6.0/src/groundx/workflow → groundx-2.6.2/src/groundx/workflows}/types/__init__.py +0 -0
- {groundx-2.6.0/src/groundx/workflow → groundx-2.6.2/src/groundx/workflows}/types/workflow_get_request_id.py +0 -0
|
@@ -72,12 +72,12 @@ from .types import (
|
|
|
72
72
|
WorkflowsResponse,
|
|
73
73
|
)
|
|
74
74
|
from .errors import BadRequestError, UnauthorizedError
|
|
75
|
-
from . import buckets, customer, documents, groups, health, search,
|
|
75
|
+
from . import buckets, customer, documents, groups, health, search, workflows
|
|
76
76
|
from .environment import GroundXEnvironment
|
|
77
77
|
from .ingest import AsyncGroundX, GroundX
|
|
78
78
|
from .search import SearchContentRequestId
|
|
79
79
|
from .version import __version__
|
|
80
|
-
from .
|
|
80
|
+
from .workflows import WorkflowGetRequestId
|
|
81
81
|
|
|
82
82
|
__all__ = [
|
|
83
83
|
"AsyncGroundX",
|
|
@@ -161,5 +161,5 @@ __all__ = [
|
|
|
161
161
|
"groups",
|
|
162
162
|
"health",
|
|
163
163
|
"search",
|
|
164
|
-
"
|
|
164
|
+
"workflows",
|
|
165
165
|
]
|
|
@@ -11,7 +11,7 @@ from .environment import GroundXEnvironment
|
|
|
11
11
|
from .groups.client import AsyncGroupsClient, GroupsClient
|
|
12
12
|
from .health.client import AsyncHealthClient, HealthClient
|
|
13
13
|
from .search.client import AsyncSearchClient, SearchClient
|
|
14
|
-
from .
|
|
14
|
+
from .workflows.client import AsyncWorkflowsClient, WorkflowsClient
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class GroundXBase:
|
|
@@ -78,7 +78,7 @@ class GroundXBase:
|
|
|
78
78
|
self.search = SearchClient(client_wrapper=self._client_wrapper)
|
|
79
79
|
self.buckets = BucketsClient(client_wrapper=self._client_wrapper)
|
|
80
80
|
self.groups = GroupsClient(client_wrapper=self._client_wrapper)
|
|
81
|
-
self.
|
|
81
|
+
self.workflows = WorkflowsClient(client_wrapper=self._client_wrapper)
|
|
82
82
|
self.customer = CustomerClient(client_wrapper=self._client_wrapper)
|
|
83
83
|
self.health = HealthClient(client_wrapper=self._client_wrapper)
|
|
84
84
|
|
|
@@ -147,7 +147,7 @@ class AsyncGroundXBase:
|
|
|
147
147
|
self.search = AsyncSearchClient(client_wrapper=self._client_wrapper)
|
|
148
148
|
self.buckets = AsyncBucketsClient(client_wrapper=self._client_wrapper)
|
|
149
149
|
self.groups = AsyncGroupsClient(client_wrapper=self._client_wrapper)
|
|
150
|
-
self.
|
|
150
|
+
self.workflows = AsyncWorkflowsClient(client_wrapper=self._client_wrapper)
|
|
151
151
|
self.customer = AsyncCustomerClient(client_wrapper=self._client_wrapper)
|
|
152
152
|
self.health = AsyncHealthClient(client_wrapper=self._client_wrapper)
|
|
153
153
|
|
|
@@ -14,10 +14,10 @@ class BaseClientWrapper:
|
|
|
14
14
|
|
|
15
15
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
16
16
|
headers: typing.Dict[str, str] = {
|
|
17
|
-
"User-Agent": "groundx/2.6.
|
|
17
|
+
"User-Agent": "groundx/2.6.2",
|
|
18
18
|
"X-Fern-Language": "Python",
|
|
19
19
|
"X-Fern-SDK-Name": "groundx",
|
|
20
|
-
"X-Fern-SDK-Version": "2.6.
|
|
20
|
+
"X-Fern-SDK-Version": "2.6.2",
|
|
21
21
|
}
|
|
22
22
|
headers["X-API-Key"] = self.api_key
|
|
23
23
|
return headers
|
|
@@ -8,29 +8,29 @@ from ..types.message_response import MessageResponse
|
|
|
8
8
|
from ..types.workflow_response import WorkflowResponse
|
|
9
9
|
from ..types.workflow_steps import WorkflowSteps
|
|
10
10
|
from ..types.workflows_response import WorkflowsResponse
|
|
11
|
-
from .raw_client import
|
|
11
|
+
from .raw_client import AsyncRawWorkflowsClient, RawWorkflowsClient
|
|
12
12
|
from .types.workflow_get_request_id import WorkflowGetRequestId
|
|
13
13
|
|
|
14
14
|
# this is used as the default value for optional parameters
|
|
15
15
|
OMIT = typing.cast(typing.Any, ...)
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class WorkflowsClient:
|
|
19
19
|
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
20
|
-
self._raw_client =
|
|
20
|
+
self._raw_client = RawWorkflowsClient(client_wrapper=client_wrapper)
|
|
21
21
|
|
|
22
22
|
@property
|
|
23
|
-
def with_raw_response(self) ->
|
|
23
|
+
def with_raw_response(self) -> RawWorkflowsClient:
|
|
24
24
|
"""
|
|
25
25
|
Retrieves a raw implementation of this client that returns raw responses.
|
|
26
26
|
|
|
27
27
|
Returns
|
|
28
28
|
-------
|
|
29
|
-
|
|
29
|
+
RawWorkflowsClient
|
|
30
30
|
"""
|
|
31
31
|
return self._raw_client
|
|
32
32
|
|
|
33
|
-
def
|
|
33
|
+
def workflow_list(self, *, request_options: typing.Optional[RequestOptions] = None) -> WorkflowsResponse:
|
|
34
34
|
"""
|
|
35
35
|
Get all workflows associated with the API key.
|
|
36
36
|
|
|
@@ -51,12 +51,12 @@ class WorkflowClient:
|
|
|
51
51
|
client = GroundX(
|
|
52
52
|
api_key="YOUR_API_KEY",
|
|
53
53
|
)
|
|
54
|
-
client.
|
|
54
|
+
client.workflows.workflow_list()
|
|
55
55
|
"""
|
|
56
|
-
_response = self._raw_client.
|
|
56
|
+
_response = self._raw_client.workflow_list(request_options=request_options)
|
|
57
57
|
return _response.data
|
|
58
58
|
|
|
59
|
-
def
|
|
59
|
+
def workflow_create(
|
|
60
60
|
self,
|
|
61
61
|
*,
|
|
62
62
|
name: typing.Optional[str] = OMIT,
|
|
@@ -88,12 +88,12 @@ class WorkflowClient:
|
|
|
88
88
|
client = GroundX(
|
|
89
89
|
api_key="YOUR_API_KEY",
|
|
90
90
|
)
|
|
91
|
-
client.
|
|
91
|
+
client.workflows.workflow_create()
|
|
92
92
|
"""
|
|
93
|
-
_response = self._raw_client.
|
|
93
|
+
_response = self._raw_client.workflow_create(name=name, steps=steps, request_options=request_options)
|
|
94
94
|
return _response.data
|
|
95
95
|
|
|
96
|
-
def
|
|
96
|
+
def add_to_account(
|
|
97
97
|
self, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
|
|
98
98
|
) -> MessageResponse:
|
|
99
99
|
"""
|
|
@@ -119,18 +119,14 @@ class WorkflowClient:
|
|
|
119
119
|
client = GroundX(
|
|
120
120
|
api_key="YOUR_API_KEY",
|
|
121
121
|
)
|
|
122
|
-
client.
|
|
122
|
+
client.workflows.add_to_account(
|
|
123
123
|
workflow_id="workflowId",
|
|
124
124
|
)
|
|
125
125
|
"""
|
|
126
|
-
_response = self._raw_client.
|
|
127
|
-
workflow_id=workflow_id, request_options=request_options
|
|
128
|
-
)
|
|
126
|
+
_response = self._raw_client.add_to_account(workflow_id=workflow_id, request_options=request_options)
|
|
129
127
|
return _response.data
|
|
130
128
|
|
|
131
|
-
def
|
|
132
|
-
self, *, request_options: typing.Optional[RequestOptions] = None
|
|
133
|
-
) -> MessageResponse:
|
|
129
|
+
def remove_from_account(self, *, request_options: typing.Optional[RequestOptions] = None) -> MessageResponse:
|
|
134
130
|
"""
|
|
135
131
|
Removes the assigned workflow from the customer account.
|
|
136
132
|
|
|
@@ -151,12 +147,12 @@ class WorkflowClient:
|
|
|
151
147
|
client = GroundX(
|
|
152
148
|
api_key="YOUR_API_KEY",
|
|
153
149
|
)
|
|
154
|
-
client.
|
|
150
|
+
client.workflows.remove_from_account()
|
|
155
151
|
"""
|
|
156
|
-
_response = self._raw_client.
|
|
152
|
+
_response = self._raw_client.remove_from_account(request_options=request_options)
|
|
157
153
|
return _response.data
|
|
158
154
|
|
|
159
|
-
def
|
|
155
|
+
def add_to_id(
|
|
160
156
|
self, id: int, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
|
|
161
157
|
) -> MessageResponse:
|
|
162
158
|
"""
|
|
@@ -185,19 +181,15 @@ class WorkflowClient:
|
|
|
185
181
|
client = GroundX(
|
|
186
182
|
api_key="YOUR_API_KEY",
|
|
187
183
|
)
|
|
188
|
-
client.
|
|
184
|
+
client.workflows.add_to_id(
|
|
189
185
|
id=1,
|
|
190
186
|
workflow_id="workflowId",
|
|
191
187
|
)
|
|
192
188
|
"""
|
|
193
|
-
_response = self._raw_client.
|
|
194
|
-
id, workflow_id=workflow_id, request_options=request_options
|
|
195
|
-
)
|
|
189
|
+
_response = self._raw_client.add_to_id(id, workflow_id=workflow_id, request_options=request_options)
|
|
196
190
|
return _response.data
|
|
197
191
|
|
|
198
|
-
def
|
|
199
|
-
self, id: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
200
|
-
) -> MessageResponse:
|
|
192
|
+
def remove_from_id(self, id: int, *, request_options: typing.Optional[RequestOptions] = None) -> MessageResponse:
|
|
201
193
|
"""
|
|
202
194
|
Removes the assigned workflow from the customer account.
|
|
203
195
|
|
|
@@ -221,14 +213,14 @@ class WorkflowClient:
|
|
|
221
213
|
client = GroundX(
|
|
222
214
|
api_key="YOUR_API_KEY",
|
|
223
215
|
)
|
|
224
|
-
client.
|
|
216
|
+
client.workflows.remove_from_id(
|
|
225
217
|
id=1,
|
|
226
218
|
)
|
|
227
219
|
"""
|
|
228
|
-
_response = self._raw_client.
|
|
220
|
+
_response = self._raw_client.remove_from_id(id, request_options=request_options)
|
|
229
221
|
return _response.data
|
|
230
222
|
|
|
231
|
-
def
|
|
223
|
+
def workflow_get(
|
|
232
224
|
self, id: WorkflowGetRequestId, *, request_options: typing.Optional[RequestOptions] = None
|
|
233
225
|
) -> WorkflowResponse:
|
|
234
226
|
"""
|
|
@@ -254,14 +246,14 @@ class WorkflowClient:
|
|
|
254
246
|
client = GroundX(
|
|
255
247
|
api_key="YOUR_API_KEY",
|
|
256
248
|
)
|
|
257
|
-
client.
|
|
249
|
+
client.workflows.workflow_get(
|
|
258
250
|
id=1,
|
|
259
251
|
)
|
|
260
252
|
"""
|
|
261
|
-
_response = self._raw_client.
|
|
253
|
+
_response = self._raw_client.workflow_get(id, request_options=request_options)
|
|
262
254
|
return _response.data
|
|
263
255
|
|
|
264
|
-
def
|
|
256
|
+
def workflow_update(
|
|
265
257
|
self,
|
|
266
258
|
id: str,
|
|
267
259
|
*,
|
|
@@ -301,17 +293,17 @@ class WorkflowClient:
|
|
|
301
293
|
client = GroundX(
|
|
302
294
|
api_key="YOUR_API_KEY",
|
|
303
295
|
)
|
|
304
|
-
client.
|
|
296
|
+
client.workflows.workflow_update(
|
|
305
297
|
id="id",
|
|
306
298
|
workflow_id="workflowId",
|
|
307
299
|
)
|
|
308
300
|
"""
|
|
309
|
-
_response = self._raw_client.
|
|
301
|
+
_response = self._raw_client.workflow_update(
|
|
310
302
|
id, workflow_id=workflow_id, name=name, steps=steps, request_options=request_options
|
|
311
303
|
)
|
|
312
304
|
return _response.data
|
|
313
305
|
|
|
314
|
-
def
|
|
306
|
+
def workflow_delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MessageResponse:
|
|
315
307
|
"""
|
|
316
308
|
Delete a workflow.
|
|
317
309
|
|
|
@@ -335,30 +327,30 @@ class WorkflowClient:
|
|
|
335
327
|
client = GroundX(
|
|
336
328
|
api_key="YOUR_API_KEY",
|
|
337
329
|
)
|
|
338
|
-
client.
|
|
330
|
+
client.workflows.workflow_delete(
|
|
339
331
|
id="id",
|
|
340
332
|
)
|
|
341
333
|
"""
|
|
342
|
-
_response = self._raw_client.
|
|
334
|
+
_response = self._raw_client.workflow_delete(id, request_options=request_options)
|
|
343
335
|
return _response.data
|
|
344
336
|
|
|
345
337
|
|
|
346
|
-
class
|
|
338
|
+
class AsyncWorkflowsClient:
|
|
347
339
|
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
348
|
-
self._raw_client =
|
|
340
|
+
self._raw_client = AsyncRawWorkflowsClient(client_wrapper=client_wrapper)
|
|
349
341
|
|
|
350
342
|
@property
|
|
351
|
-
def with_raw_response(self) ->
|
|
343
|
+
def with_raw_response(self) -> AsyncRawWorkflowsClient:
|
|
352
344
|
"""
|
|
353
345
|
Retrieves a raw implementation of this client that returns raw responses.
|
|
354
346
|
|
|
355
347
|
Returns
|
|
356
348
|
-------
|
|
357
|
-
|
|
349
|
+
AsyncRawWorkflowsClient
|
|
358
350
|
"""
|
|
359
351
|
return self._raw_client
|
|
360
352
|
|
|
361
|
-
async def
|
|
353
|
+
async def workflow_list(self, *, request_options: typing.Optional[RequestOptions] = None) -> WorkflowsResponse:
|
|
362
354
|
"""
|
|
363
355
|
Get all workflows associated with the API key.
|
|
364
356
|
|
|
@@ -384,15 +376,15 @@ class AsyncWorkflowClient:
|
|
|
384
376
|
|
|
385
377
|
|
|
386
378
|
async def main() -> None:
|
|
387
|
-
await client.
|
|
379
|
+
await client.workflows.workflow_list()
|
|
388
380
|
|
|
389
381
|
|
|
390
382
|
asyncio.run(main())
|
|
391
383
|
"""
|
|
392
|
-
_response = await self._raw_client.
|
|
384
|
+
_response = await self._raw_client.workflow_list(request_options=request_options)
|
|
393
385
|
return _response.data
|
|
394
386
|
|
|
395
|
-
async def
|
|
387
|
+
async def workflow_create(
|
|
396
388
|
self,
|
|
397
389
|
*,
|
|
398
390
|
name: typing.Optional[str] = OMIT,
|
|
@@ -429,15 +421,15 @@ class AsyncWorkflowClient:
|
|
|
429
421
|
|
|
430
422
|
|
|
431
423
|
async def main() -> None:
|
|
432
|
-
await client.
|
|
424
|
+
await client.workflows.workflow_create()
|
|
433
425
|
|
|
434
426
|
|
|
435
427
|
asyncio.run(main())
|
|
436
428
|
"""
|
|
437
|
-
_response = await self._raw_client.
|
|
429
|
+
_response = await self._raw_client.workflow_create(name=name, steps=steps, request_options=request_options)
|
|
438
430
|
return _response.data
|
|
439
431
|
|
|
440
|
-
async def
|
|
432
|
+
async def add_to_account(
|
|
441
433
|
self, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
|
|
442
434
|
) -> MessageResponse:
|
|
443
435
|
"""
|
|
@@ -468,21 +460,17 @@ class AsyncWorkflowClient:
|
|
|
468
460
|
|
|
469
461
|
|
|
470
462
|
async def main() -> None:
|
|
471
|
-
await client.
|
|
463
|
+
await client.workflows.add_to_account(
|
|
472
464
|
workflow_id="workflowId",
|
|
473
465
|
)
|
|
474
466
|
|
|
475
467
|
|
|
476
468
|
asyncio.run(main())
|
|
477
469
|
"""
|
|
478
|
-
_response = await self._raw_client.
|
|
479
|
-
workflow_id=workflow_id, request_options=request_options
|
|
480
|
-
)
|
|
470
|
+
_response = await self._raw_client.add_to_account(workflow_id=workflow_id, request_options=request_options)
|
|
481
471
|
return _response.data
|
|
482
472
|
|
|
483
|
-
async def
|
|
484
|
-
self, *, request_options: typing.Optional[RequestOptions] = None
|
|
485
|
-
) -> MessageResponse:
|
|
473
|
+
async def remove_from_account(self, *, request_options: typing.Optional[RequestOptions] = None) -> MessageResponse:
|
|
486
474
|
"""
|
|
487
475
|
Removes the assigned workflow from the customer account.
|
|
488
476
|
|
|
@@ -508,15 +496,15 @@ class AsyncWorkflowClient:
|
|
|
508
496
|
|
|
509
497
|
|
|
510
498
|
async def main() -> None:
|
|
511
|
-
await client.
|
|
499
|
+
await client.workflows.remove_from_account()
|
|
512
500
|
|
|
513
501
|
|
|
514
502
|
asyncio.run(main())
|
|
515
503
|
"""
|
|
516
|
-
_response = await self._raw_client.
|
|
504
|
+
_response = await self._raw_client.remove_from_account(request_options=request_options)
|
|
517
505
|
return _response.data
|
|
518
506
|
|
|
519
|
-
async def
|
|
507
|
+
async def add_to_id(
|
|
520
508
|
self, id: int, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
|
|
521
509
|
) -> MessageResponse:
|
|
522
510
|
"""
|
|
@@ -550,7 +538,7 @@ class AsyncWorkflowClient:
|
|
|
550
538
|
|
|
551
539
|
|
|
552
540
|
async def main() -> None:
|
|
553
|
-
await client.
|
|
541
|
+
await client.workflows.add_to_id(
|
|
554
542
|
id=1,
|
|
555
543
|
workflow_id="workflowId",
|
|
556
544
|
)
|
|
@@ -558,12 +546,10 @@ class AsyncWorkflowClient:
|
|
|
558
546
|
|
|
559
547
|
asyncio.run(main())
|
|
560
548
|
"""
|
|
561
|
-
_response = await self._raw_client.
|
|
562
|
-
id, workflow_id=workflow_id, request_options=request_options
|
|
563
|
-
)
|
|
549
|
+
_response = await self._raw_client.add_to_id(id, workflow_id=workflow_id, request_options=request_options)
|
|
564
550
|
return _response.data
|
|
565
551
|
|
|
566
|
-
async def
|
|
552
|
+
async def remove_from_id(
|
|
567
553
|
self, id: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
568
554
|
) -> MessageResponse:
|
|
569
555
|
"""
|
|
@@ -594,17 +580,17 @@ class AsyncWorkflowClient:
|
|
|
594
580
|
|
|
595
581
|
|
|
596
582
|
async def main() -> None:
|
|
597
|
-
await client.
|
|
583
|
+
await client.workflows.remove_from_id(
|
|
598
584
|
id=1,
|
|
599
585
|
)
|
|
600
586
|
|
|
601
587
|
|
|
602
588
|
asyncio.run(main())
|
|
603
589
|
"""
|
|
604
|
-
_response = await self._raw_client.
|
|
590
|
+
_response = await self._raw_client.remove_from_id(id, request_options=request_options)
|
|
605
591
|
return _response.data
|
|
606
592
|
|
|
607
|
-
async def
|
|
593
|
+
async def workflow_get(
|
|
608
594
|
self, id: WorkflowGetRequestId, *, request_options: typing.Optional[RequestOptions] = None
|
|
609
595
|
) -> WorkflowResponse:
|
|
610
596
|
"""
|
|
@@ -635,17 +621,17 @@ class AsyncWorkflowClient:
|
|
|
635
621
|
|
|
636
622
|
|
|
637
623
|
async def main() -> None:
|
|
638
|
-
await client.
|
|
624
|
+
await client.workflows.workflow_get(
|
|
639
625
|
id=1,
|
|
640
626
|
)
|
|
641
627
|
|
|
642
628
|
|
|
643
629
|
asyncio.run(main())
|
|
644
630
|
"""
|
|
645
|
-
_response = await self._raw_client.
|
|
631
|
+
_response = await self._raw_client.workflow_get(id, request_options=request_options)
|
|
646
632
|
return _response.data
|
|
647
633
|
|
|
648
|
-
async def
|
|
634
|
+
async def workflow_update(
|
|
649
635
|
self,
|
|
650
636
|
id: str,
|
|
651
637
|
*,
|
|
@@ -690,7 +676,7 @@ class AsyncWorkflowClient:
|
|
|
690
676
|
|
|
691
677
|
|
|
692
678
|
async def main() -> None:
|
|
693
|
-
await client.
|
|
679
|
+
await client.workflows.workflow_update(
|
|
694
680
|
id="id",
|
|
695
681
|
workflow_id="workflowId",
|
|
696
682
|
)
|
|
@@ -698,12 +684,14 @@ class AsyncWorkflowClient:
|
|
|
698
684
|
|
|
699
685
|
asyncio.run(main())
|
|
700
686
|
"""
|
|
701
|
-
_response = await self._raw_client.
|
|
687
|
+
_response = await self._raw_client.workflow_update(
|
|
702
688
|
id, workflow_id=workflow_id, name=name, steps=steps, request_options=request_options
|
|
703
689
|
)
|
|
704
690
|
return _response.data
|
|
705
691
|
|
|
706
|
-
async def
|
|
692
|
+
async def workflow_delete(
|
|
693
|
+
self, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
694
|
+
) -> MessageResponse:
|
|
707
695
|
"""
|
|
708
696
|
Delete a workflow.
|
|
709
697
|
|
|
@@ -732,12 +720,12 @@ class AsyncWorkflowClient:
|
|
|
732
720
|
|
|
733
721
|
|
|
734
722
|
async def main() -> None:
|
|
735
|
-
await client.
|
|
723
|
+
await client.workflows.workflow_delete(
|
|
736
724
|
id="id",
|
|
737
725
|
)
|
|
738
726
|
|
|
739
727
|
|
|
740
728
|
asyncio.run(main())
|
|
741
729
|
"""
|
|
742
|
-
_response = await self._raw_client.
|
|
730
|
+
_response = await self._raw_client.workflow_delete(id, request_options=request_options)
|
|
743
731
|
return _response.data
|
|
@@ -20,11 +20,13 @@ from .types.workflow_get_request_id import WorkflowGetRequestId
|
|
|
20
20
|
OMIT = typing.cast(typing.Any, ...)
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class RawWorkflowsClient:
|
|
24
24
|
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
25
25
|
self._client_wrapper = client_wrapper
|
|
26
26
|
|
|
27
|
-
def
|
|
27
|
+
def workflow_list(
|
|
28
|
+
self, *, request_options: typing.Optional[RequestOptions] = None
|
|
29
|
+
) -> HttpResponse[WorkflowsResponse]:
|
|
28
30
|
"""
|
|
29
31
|
Get all workflows associated with the API key.
|
|
30
32
|
|
|
@@ -58,7 +60,7 @@ class RawWorkflowClient:
|
|
|
58
60
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
59
61
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
60
62
|
|
|
61
|
-
def
|
|
63
|
+
def workflow_create(
|
|
62
64
|
self,
|
|
63
65
|
*,
|
|
64
66
|
name: typing.Optional[str] = OMIT,
|
|
@@ -113,7 +115,7 @@ class RawWorkflowClient:
|
|
|
113
115
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
114
116
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
115
117
|
|
|
116
|
-
def
|
|
118
|
+
def add_to_account(
|
|
117
119
|
self, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
|
|
118
120
|
) -> HttpResponse[MessageResponse]:
|
|
119
121
|
"""
|
|
@@ -159,7 +161,7 @@ class RawWorkflowClient:
|
|
|
159
161
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
160
162
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
161
163
|
|
|
162
|
-
def
|
|
164
|
+
def remove_from_account(
|
|
163
165
|
self, *, request_options: typing.Optional[RequestOptions] = None
|
|
164
166
|
) -> HttpResponse[MessageResponse]:
|
|
165
167
|
"""
|
|
@@ -195,7 +197,7 @@ class RawWorkflowClient:
|
|
|
195
197
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
196
198
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
197
199
|
|
|
198
|
-
def
|
|
200
|
+
def add_to_id(
|
|
199
201
|
self, id: int, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
|
|
200
202
|
) -> HttpResponse[MessageResponse]:
|
|
201
203
|
"""
|
|
@@ -244,7 +246,7 @@ class RawWorkflowClient:
|
|
|
244
246
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
245
247
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
246
248
|
|
|
247
|
-
def
|
|
249
|
+
def remove_from_id(
|
|
248
250
|
self, id: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
249
251
|
) -> HttpResponse[MessageResponse]:
|
|
250
252
|
"""
|
|
@@ -283,7 +285,7 @@ class RawWorkflowClient:
|
|
|
283
285
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
284
286
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
285
287
|
|
|
286
|
-
def
|
|
288
|
+
def workflow_get(
|
|
287
289
|
self, id: WorkflowGetRequestId, *, request_options: typing.Optional[RequestOptions] = None
|
|
288
290
|
) -> HttpResponse[WorkflowResponse]:
|
|
289
291
|
"""
|
|
@@ -322,7 +324,7 @@ class RawWorkflowClient:
|
|
|
322
324
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
323
325
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
324
326
|
|
|
325
|
-
def
|
|
327
|
+
def workflow_update(
|
|
326
328
|
self,
|
|
327
329
|
id: str,
|
|
328
330
|
*,
|
|
@@ -386,7 +388,7 @@ class RawWorkflowClient:
|
|
|
386
388
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
387
389
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
388
390
|
|
|
389
|
-
def
|
|
391
|
+
def workflow_delete(
|
|
390
392
|
self, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
391
393
|
) -> HttpResponse[MessageResponse]:
|
|
392
394
|
"""
|
|
@@ -426,11 +428,11 @@ class RawWorkflowClient:
|
|
|
426
428
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
427
429
|
|
|
428
430
|
|
|
429
|
-
class
|
|
431
|
+
class AsyncRawWorkflowsClient:
|
|
430
432
|
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
431
433
|
self._client_wrapper = client_wrapper
|
|
432
434
|
|
|
433
|
-
async def
|
|
435
|
+
async def workflow_list(
|
|
434
436
|
self, *, request_options: typing.Optional[RequestOptions] = None
|
|
435
437
|
) -> AsyncHttpResponse[WorkflowsResponse]:
|
|
436
438
|
"""
|
|
@@ -466,7 +468,7 @@ class AsyncRawWorkflowClient:
|
|
|
466
468
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
467
469
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
468
470
|
|
|
469
|
-
async def
|
|
471
|
+
async def workflow_create(
|
|
470
472
|
self,
|
|
471
473
|
*,
|
|
472
474
|
name: typing.Optional[str] = OMIT,
|
|
@@ -521,7 +523,7 @@ class AsyncRawWorkflowClient:
|
|
|
521
523
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
522
524
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
523
525
|
|
|
524
|
-
async def
|
|
526
|
+
async def add_to_account(
|
|
525
527
|
self, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
|
|
526
528
|
) -> AsyncHttpResponse[MessageResponse]:
|
|
527
529
|
"""
|
|
@@ -567,7 +569,7 @@ class AsyncRawWorkflowClient:
|
|
|
567
569
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
568
570
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
569
571
|
|
|
570
|
-
async def
|
|
572
|
+
async def remove_from_account(
|
|
571
573
|
self, *, request_options: typing.Optional[RequestOptions] = None
|
|
572
574
|
) -> AsyncHttpResponse[MessageResponse]:
|
|
573
575
|
"""
|
|
@@ -603,7 +605,7 @@ class AsyncRawWorkflowClient:
|
|
|
603
605
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
604
606
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
605
607
|
|
|
606
|
-
async def
|
|
608
|
+
async def add_to_id(
|
|
607
609
|
self, id: int, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
|
|
608
610
|
) -> AsyncHttpResponse[MessageResponse]:
|
|
609
611
|
"""
|
|
@@ -652,7 +654,7 @@ class AsyncRawWorkflowClient:
|
|
|
652
654
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
653
655
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
654
656
|
|
|
655
|
-
async def
|
|
657
|
+
async def remove_from_id(
|
|
656
658
|
self, id: int, *, request_options: typing.Optional[RequestOptions] = None
|
|
657
659
|
) -> AsyncHttpResponse[MessageResponse]:
|
|
658
660
|
"""
|
|
@@ -691,7 +693,7 @@ class AsyncRawWorkflowClient:
|
|
|
691
693
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
692
694
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
693
695
|
|
|
694
|
-
async def
|
|
696
|
+
async def workflow_get(
|
|
695
697
|
self, id: WorkflowGetRequestId, *, request_options: typing.Optional[RequestOptions] = None
|
|
696
698
|
) -> AsyncHttpResponse[WorkflowResponse]:
|
|
697
699
|
"""
|
|
@@ -730,7 +732,7 @@ class AsyncRawWorkflowClient:
|
|
|
730
732
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
731
733
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
732
734
|
|
|
733
|
-
async def
|
|
735
|
+
async def workflow_update(
|
|
734
736
|
self,
|
|
735
737
|
id: str,
|
|
736
738
|
*,
|
|
@@ -794,7 +796,7 @@ class AsyncRawWorkflowClient:
|
|
|
794
796
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
795
797
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
796
798
|
|
|
797
|
-
async def
|
|
799
|
+
async def workflow_delete(
|
|
798
800
|
self, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
799
801
|
) -> AsyncHttpResponse[MessageResponse]:
|
|
800
802
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|