worqhat 3.8.0__tar.gz → 3.10.0__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.
- worqhat-3.10.0/.release-please-manifest.json +3 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/CHANGELOG.md +17 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/PKG-INFO +1 -1
- {worqhat-3.8.0 → worqhat-3.10.0}/api.md +18 -8
- {worqhat-3.8.0 → worqhat-3.10.0}/pyproject.toml +1 -1
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_client.py +9 -10
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_version.py +1 -1
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/resources/__init__.py +14 -14
- worqhat-3.10.0/src/worqhat/resources/db/db.py +1650 -0
- {worqhat-3.8.0/src/worqhat/resources/client → worqhat-3.10.0/src/worqhat/resources}/storage.py +11 -11
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/__init__.py +20 -0
- worqhat-3.10.0/src/worqhat/types/db_cluster_params.py +27 -0
- worqhat-3.10.0/src/worqhat/types/db_cluster_response.py +44 -0
- worqhat-3.10.0/src/worqhat/types/db_detect_anomalies_params.py +24 -0
- worqhat-3.10.0/src/worqhat/types/db_detect_anomalies_response.py +50 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_execute_query_params.py +9 -4
- worqhat-3.10.0/src/worqhat/types/db_find_similar_params.py +31 -0
- worqhat-3.10.0/src/worqhat/types/db_find_similar_response.py +30 -0
- worqhat-3.10.0/src/worqhat/types/db_hybrid_search_params.py +32 -0
- worqhat-3.10.0/src/worqhat/types/db_hybrid_search_response.py +48 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_process_nl_query_params.py +0 -3
- worqhat-3.10.0/src/worqhat/types/db_recommend_params.py +33 -0
- worqhat-3.10.0/src/worqhat/types/db_recommend_response.py +36 -0
- worqhat-3.10.0/src/worqhat/types/db_semantic_search_params.py +33 -0
- worqhat-3.10.0/src/worqhat/types/db_semantic_search_response.py +36 -0
- {worqhat-3.8.0/src/worqhat/types/client → worqhat-3.10.0/src/worqhat/types}/storage_delete_file_by_id_response.py +1 -1
- {worqhat-3.8.0/src/worqhat/types/client → worqhat-3.10.0/src/worqhat/types}/storage_retrieve_file_by_id_response.py +1 -1
- {worqhat-3.8.0/src/worqhat/types/client → worqhat-3.10.0/src/worqhat/types}/storage_retrieve_file_by_path_response.py +1 -1
- {worqhat-3.8.0/src/worqhat/types/client → worqhat-3.10.0/src/worqhat/types}/storage_upload_file_params.py +1 -1
- {worqhat-3.8.0/src/worqhat/types/client → worqhat-3.10.0/src/worqhat/types}/storage_upload_file_response.py +1 -1
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/api_resources/test_db.py +604 -18
- {worqhat-3.8.0/tests/api_resources/client → worqhat-3.10.0/tests/api_resources}/test_storage.py +31 -31
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_client.py +10 -22
- worqhat-3.8.0/.release-please-manifest.json +0 -3
- worqhat-3.8.0/src/worqhat/resources/client/__init__.py +0 -33
- worqhat-3.8.0/src/worqhat/resources/client/client.py +0 -102
- worqhat-3.8.0/src/worqhat/resources/db/db.py +0 -806
- worqhat-3.8.0/src/worqhat/types/client/__init__.py +0 -12
- worqhat-3.8.0/tests/api_resources/db/__init__.py +0 -1
- {worqhat-3.8.0 → worqhat-3.10.0}/.gitignore +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/CONTRIBUTING.md +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/LICENSE +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/README.md +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/SECURITY.md +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/bin/check-release-environment +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/bin/publish-pypi +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/examples/.keep +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/noxfile.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/release-please-config.json +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/requirements-dev.lock +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/requirements.lock +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/__init__.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_base_client.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_compat.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_constants.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_exceptions.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_files.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_models.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_qs.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_resource.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_streaming.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_types.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/__init__.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_compat.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_datetime_parse.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_logs.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_proxy.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_reflection.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_resources_proxy.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_streams.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_sync.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_transform.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_typing.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/_utils/_utils.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/lib/.keep +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/py.typed +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/resources/db/__init__.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/resources/db/tables.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/resources/flows.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/resources/health.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db/__init__.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db/table_get_row_count_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db/table_get_row_count_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db/table_list_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db/table_list_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db/table_retrieve_schema_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db/table_retrieve_schema_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_delete_records_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_delete_records_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_execute_batch_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_execute_batch_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_execute_query_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_insert_record_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_insert_record_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_process_nl_query_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_update_records_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/db_update_records_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/flow_get_metrics_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/flow_get_metrics_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/flow_trigger_with_file_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/flow_trigger_with_file_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/flow_trigger_with_payload_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/flow_trigger_with_payload_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/get_server_info_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/src/worqhat/types/health_check_response.py +0 -0
- {worqhat-3.8.0/src/worqhat/types/client → worqhat-3.10.0/src/worqhat/types}/storage_retrieve_file_by_path_params.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/__init__.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/api_resources/__init__.py +0 -0
- {worqhat-3.8.0/tests/api_resources/client → worqhat-3.10.0/tests/api_resources/db}/__init__.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/api_resources/db/test_tables.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/api_resources/test_client.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/api_resources/test_flows.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/api_resources/test_health.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/conftest.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/sample_file.txt +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_deepcopy.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_extract_files.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_files.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_models.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_qs.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_required_args.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_response.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_streaming.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_transform.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_utils/test_proxy.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/test_utils/test_typing.py +0 -0
- {worqhat-3.8.0 → worqhat-3.10.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.10.0 (2025-10-28)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v3.9.0...v3.10.0](https://github.com/WorqHat/worqhat-python-sdk/compare/v3.9.0...v3.10.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([4dd19dc](https://github.com/WorqHat/worqhat-python-sdk/commit/4dd19dc4ec0ffa46ce9a3e6bb0c18da0f241b399))
|
|
10
|
+
|
|
11
|
+
## 3.9.0 (2025-10-24)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v3.8.0...v3.9.0](https://github.com/WorqHat/worqhat-python-sdk/compare/v3.8.0...v3.9.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** manual updates ([586bf23](https://github.com/WorqHat/worqhat-python-sdk/commit/586bf230bbe49f665d3dfc5a5c01be30c6ae56c4))
|
|
18
|
+
* **api:** manual updates ([af79b06](https://github.com/WorqHat/worqhat-python-sdk/commit/af79b065dff0f6d7d41312f7c197f433a7ab5489))
|
|
19
|
+
|
|
3
20
|
## 3.8.0 (2025-10-19)
|
|
4
21
|
|
|
5
22
|
Full Changelog: [v3.7.0...v3.8.0](https://github.com/WorqHat/worqhat-python-sdk/compare/v3.7.0...v3.8.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: worqhat
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.10.0
|
|
4
4
|
Summary: The official Python library for the worqhat API
|
|
5
5
|
Project-URL: Homepage, https://github.com/WorqHat/worqhat-python-sdk
|
|
6
6
|
Project-URL: Repository, https://github.com/WorqHat/worqhat-python-sdk
|
|
@@ -16,22 +16,34 @@ Types:
|
|
|
16
16
|
|
|
17
17
|
```python
|
|
18
18
|
from worqhat.types import (
|
|
19
|
+
DBClusterResponse,
|
|
19
20
|
DBDeleteRecordsResponse,
|
|
21
|
+
DBDetectAnomaliesResponse,
|
|
20
22
|
DBExecuteBatchResponse,
|
|
21
23
|
DBExecuteQueryResponse,
|
|
24
|
+
DBFindSimilarResponse,
|
|
25
|
+
DBHybridSearchResponse,
|
|
22
26
|
DBInsertRecordResponse,
|
|
23
27
|
DBProcessNlQueryResponse,
|
|
28
|
+
DBRecommendResponse,
|
|
29
|
+
DBSemanticSearchResponse,
|
|
24
30
|
DBUpdateRecordsResponse,
|
|
25
31
|
)
|
|
26
32
|
```
|
|
27
33
|
|
|
28
34
|
Methods:
|
|
29
35
|
|
|
36
|
+
- <code title="post /db/cluster">client.db.<a href="./src/worqhat/resources/db/db.py">cluster</a>(\*\*<a href="src/worqhat/types/db_cluster_params.py">params</a>) -> <a href="./src/worqhat/types/db_cluster_response.py">DBClusterResponse</a></code>
|
|
30
37
|
- <code title="delete /db/delete">client.db.<a href="./src/worqhat/resources/db/db.py">delete_records</a>(\*\*<a href="src/worqhat/types/db_delete_records_params.py">params</a>) -> <a href="./src/worqhat/types/db_delete_records_response.py">DBDeleteRecordsResponse</a></code>
|
|
38
|
+
- <code title="post /db/detect-anomalies">client.db.<a href="./src/worqhat/resources/db/db.py">detect_anomalies</a>(\*\*<a href="src/worqhat/types/db_detect_anomalies_params.py">params</a>) -> <a href="./src/worqhat/types/db_detect_anomalies_response.py">DBDetectAnomaliesResponse</a></code>
|
|
31
39
|
- <code title="post /db/batch">client.db.<a href="./src/worqhat/resources/db/db.py">execute_batch</a>(\*\*<a href="src/worqhat/types/db_execute_batch_params.py">params</a>) -> <a href="./src/worqhat/types/db_execute_batch_response.py">DBExecuteBatchResponse</a></code>
|
|
32
40
|
- <code title="post /db/query">client.db.<a href="./src/worqhat/resources/db/db.py">execute_query</a>(\*\*<a href="src/worqhat/types/db_execute_query_params.py">params</a>) -> <a href="./src/worqhat/types/db_execute_query_response.py">DBExecuteQueryResponse</a></code>
|
|
41
|
+
- <code title="post /db/find-similar">client.db.<a href="./src/worqhat/resources/db/db.py">find_similar</a>(\*\*<a href="src/worqhat/types/db_find_similar_params.py">params</a>) -> <a href="./src/worqhat/types/db_find_similar_response.py">DBFindSimilarResponse</a></code>
|
|
42
|
+
- <code title="post /db/hybrid-search">client.db.<a href="./src/worqhat/resources/db/db.py">hybrid_search</a>(\*\*<a href="src/worqhat/types/db_hybrid_search_params.py">params</a>) -> <a href="./src/worqhat/types/db_hybrid_search_response.py">DBHybridSearchResponse</a></code>
|
|
33
43
|
- <code title="post /db/insert">client.db.<a href="./src/worqhat/resources/db/db.py">insert_record</a>(\*\*<a href="src/worqhat/types/db_insert_record_params.py">params</a>) -> <a href="./src/worqhat/types/db_insert_record_response.py">DBInsertRecordResponse</a></code>
|
|
34
44
|
- <code title="post /db/nl-query">client.db.<a href="./src/worqhat/resources/db/db.py">process_nl_query</a>(\*\*<a href="src/worqhat/types/db_process_nl_query_params.py">params</a>) -> <a href="./src/worqhat/types/db_process_nl_query_response.py">DBProcessNlQueryResponse</a></code>
|
|
45
|
+
- <code title="post /db/recommend">client.db.<a href="./src/worqhat/resources/db/db.py">recommend</a>(\*\*<a href="src/worqhat/types/db_recommend_params.py">params</a>) -> <a href="./src/worqhat/types/db_recommend_response.py">DBRecommendResponse</a></code>
|
|
46
|
+
- <code title="post /db/semantic-search">client.db.<a href="./src/worqhat/resources/db/db.py">semantic_search</a>(\*\*<a href="src/worqhat/types/db_semantic_search_params.py">params</a>) -> <a href="./src/worqhat/types/db_semantic_search_response.py">DBSemanticSearchResponse</a></code>
|
|
35
47
|
- <code title="put /db/update">client.db.<a href="./src/worqhat/resources/db/db.py">update_records</a>(\*\*<a href="src/worqhat/types/db_update_records_params.py">params</a>) -> <a href="./src/worqhat/types/db_update_records_response.py">DBUpdateRecordsResponse</a></code>
|
|
36
48
|
|
|
37
49
|
## Tables
|
|
@@ -82,14 +94,12 @@ Methods:
|
|
|
82
94
|
- <code title="post /flows/file/{flowId}">client.flows.<a href="./src/worqhat/resources/flows.py">trigger_with_file</a>(flow_id, \*\*<a href="src/worqhat/types/flow_trigger_with_file_params.py">params</a>) -> <a href="./src/worqhat/types/flow_trigger_with_file_response.py">FlowTriggerWithFileResponse</a></code>
|
|
83
95
|
- <code title="post /flows/trigger/{flowId}">client.flows.<a href="./src/worqhat/resources/flows.py">trigger_with_payload</a>(flow_id, \*\*<a href="src/worqhat/types/flow_trigger_with_payload_params.py">params</a>) -> <a href="./src/worqhat/types/flow_trigger_with_payload_response.py">FlowTriggerWithPayloadResponse</a></code>
|
|
84
96
|
|
|
85
|
-
#
|
|
86
|
-
|
|
87
|
-
## Storage
|
|
97
|
+
# Storage
|
|
88
98
|
|
|
89
99
|
Types:
|
|
90
100
|
|
|
91
101
|
```python
|
|
92
|
-
from worqhat.types
|
|
102
|
+
from worqhat.types import (
|
|
93
103
|
StorageDeleteFileByIDResponse,
|
|
94
104
|
StorageRetrieveFileByIDResponse,
|
|
95
105
|
StorageRetrieveFileByPathResponse,
|
|
@@ -99,7 +109,7 @@ from worqhat.types.client import (
|
|
|
99
109
|
|
|
100
110
|
Methods:
|
|
101
111
|
|
|
102
|
-
- <code title="delete /storage/delete/{fileId}">client.
|
|
103
|
-
- <code title="get /storage/fetch/{fileId}">client.
|
|
104
|
-
- <code title="get /storage/fetch-by-path">client.
|
|
105
|
-
- <code title="post /storage/upload">client.
|
|
112
|
+
- <code title="delete /storage/delete/{fileId}">client.storage.<a href="./src/worqhat/resources/storage.py">delete_file_by_id</a>(file_id) -> <a href="./src/worqhat/types/storage_delete_file_by_id_response.py">StorageDeleteFileByIDResponse</a></code>
|
|
113
|
+
- <code title="get /storage/fetch/{fileId}">client.storage.<a href="./src/worqhat/resources/storage.py">retrieve_file_by_id</a>(file_id) -> <a href="./src/worqhat/types/storage_retrieve_file_by_id_response.py">StorageRetrieveFileByIDResponse</a></code>
|
|
114
|
+
- <code title="get /storage/fetch-by-path">client.storage.<a href="./src/worqhat/resources/storage.py">retrieve_file_by_path</a>(\*\*<a href="src/worqhat/types/storage_retrieve_file_by_path_params.py">params</a>) -> <a href="./src/worqhat/types/storage_retrieve_file_by_path_response.py">StorageRetrieveFileByPathResponse</a></code>
|
|
115
|
+
- <code title="post /storage/upload">client.storage.<a href="./src/worqhat/resources/storage.py">upload_file</a>(\*\*<a href="src/worqhat/types/storage_upload_file_params.py">params</a>) -> <a href="./src/worqhat/types/storage_upload_file_response.py">StorageUploadFileResponse</a></code>
|
|
@@ -30,7 +30,7 @@ from ._response import (
|
|
|
30
30
|
async_to_raw_response_wrapper,
|
|
31
31
|
async_to_streamed_response_wrapper,
|
|
32
32
|
)
|
|
33
|
-
from .resources import flows, health
|
|
33
|
+
from .resources import flows, health, storage
|
|
34
34
|
from ._streaming import Stream as Stream, AsyncStream as AsyncStream
|
|
35
35
|
from ._exceptions import WorqhatError, APIStatusError
|
|
36
36
|
from ._base_client import (
|
|
@@ -40,7 +40,6 @@ from ._base_client import (
|
|
|
40
40
|
make_request_options,
|
|
41
41
|
)
|
|
42
42
|
from .resources.db import db
|
|
43
|
-
from .resources.client import client
|
|
44
43
|
from .types.get_server_info_response import GetServerInfoResponse
|
|
45
44
|
|
|
46
45
|
__all__ = ["Timeout", "Transport", "ProxiesTypes", "RequestOptions", "Worqhat", "AsyncWorqhat", "Client", "AsyncClient"]
|
|
@@ -50,7 +49,7 @@ class Worqhat(SyncAPIClient):
|
|
|
50
49
|
db: db.DBResource
|
|
51
50
|
health: health.HealthResource
|
|
52
51
|
flows: flows.FlowsResource
|
|
53
|
-
|
|
52
|
+
storage: storage.StorageResource
|
|
54
53
|
with_raw_response: WorqhatWithRawResponse
|
|
55
54
|
with_streaming_response: WorqhatWithStreamedResponse
|
|
56
55
|
|
|
@@ -111,7 +110,7 @@ class Worqhat(SyncAPIClient):
|
|
|
111
110
|
self.db = db.DBResource(self)
|
|
112
111
|
self.health = health.HealthResource(self)
|
|
113
112
|
self.flows = flows.FlowsResource(self)
|
|
114
|
-
self.
|
|
113
|
+
self.storage = storage.StorageResource(self)
|
|
115
114
|
self.with_raw_response = WorqhatWithRawResponse(self)
|
|
116
115
|
self.with_streaming_response = WorqhatWithStreamedResponse(self)
|
|
117
116
|
|
|
@@ -243,7 +242,7 @@ class AsyncWorqhat(AsyncAPIClient):
|
|
|
243
242
|
db: db.AsyncDBResource
|
|
244
243
|
health: health.AsyncHealthResource
|
|
245
244
|
flows: flows.AsyncFlowsResource
|
|
246
|
-
|
|
245
|
+
storage: storage.AsyncStorageResource
|
|
247
246
|
with_raw_response: AsyncWorqhatWithRawResponse
|
|
248
247
|
with_streaming_response: AsyncWorqhatWithStreamedResponse
|
|
249
248
|
|
|
@@ -304,7 +303,7 @@ class AsyncWorqhat(AsyncAPIClient):
|
|
|
304
303
|
self.db = db.AsyncDBResource(self)
|
|
305
304
|
self.health = health.AsyncHealthResource(self)
|
|
306
305
|
self.flows = flows.AsyncFlowsResource(self)
|
|
307
|
-
self.
|
|
306
|
+
self.storage = storage.AsyncStorageResource(self)
|
|
308
307
|
self.with_raw_response = AsyncWorqhatWithRawResponse(self)
|
|
309
308
|
self.with_streaming_response = AsyncWorqhatWithStreamedResponse(self)
|
|
310
309
|
|
|
@@ -437,7 +436,7 @@ class WorqhatWithRawResponse:
|
|
|
437
436
|
self.db = db.DBResourceWithRawResponse(client.db)
|
|
438
437
|
self.health = health.HealthResourceWithRawResponse(client.health)
|
|
439
438
|
self.flows = flows.FlowsResourceWithRawResponse(client.flows)
|
|
440
|
-
self.
|
|
439
|
+
self.storage = storage.StorageResourceWithRawResponse(client.storage)
|
|
441
440
|
|
|
442
441
|
self.get_server_info = to_raw_response_wrapper(
|
|
443
442
|
client.get_server_info,
|
|
@@ -449,7 +448,7 @@ class AsyncWorqhatWithRawResponse:
|
|
|
449
448
|
self.db = db.AsyncDBResourceWithRawResponse(client.db)
|
|
450
449
|
self.health = health.AsyncHealthResourceWithRawResponse(client.health)
|
|
451
450
|
self.flows = flows.AsyncFlowsResourceWithRawResponse(client.flows)
|
|
452
|
-
self.
|
|
451
|
+
self.storage = storage.AsyncStorageResourceWithRawResponse(client.storage)
|
|
453
452
|
|
|
454
453
|
self.get_server_info = async_to_raw_response_wrapper(
|
|
455
454
|
client.get_server_info,
|
|
@@ -461,7 +460,7 @@ class WorqhatWithStreamedResponse:
|
|
|
461
460
|
self.db = db.DBResourceWithStreamingResponse(client.db)
|
|
462
461
|
self.health = health.HealthResourceWithStreamingResponse(client.health)
|
|
463
462
|
self.flows = flows.FlowsResourceWithStreamingResponse(client.flows)
|
|
464
|
-
self.
|
|
463
|
+
self.storage = storage.StorageResourceWithStreamingResponse(client.storage)
|
|
465
464
|
|
|
466
465
|
self.get_server_info = to_streamed_response_wrapper(
|
|
467
466
|
client.get_server_info,
|
|
@@ -473,7 +472,7 @@ class AsyncWorqhatWithStreamedResponse:
|
|
|
473
472
|
self.db = db.AsyncDBResourceWithStreamingResponse(client.db)
|
|
474
473
|
self.health = health.AsyncHealthResourceWithStreamingResponse(client.health)
|
|
475
474
|
self.flows = flows.AsyncFlowsResourceWithStreamingResponse(client.flows)
|
|
476
|
-
self.
|
|
475
|
+
self.storage = storage.AsyncStorageResourceWithStreamingResponse(client.storage)
|
|
477
476
|
|
|
478
477
|
self.get_server_info = async_to_streamed_response_wrapper(
|
|
479
478
|
client.get_server_info,
|
|
@@ -16,14 +16,6 @@ from .flows import (
|
|
|
16
16
|
FlowsResourceWithStreamingResponse,
|
|
17
17
|
AsyncFlowsResourceWithStreamingResponse,
|
|
18
18
|
)
|
|
19
|
-
from .client import (
|
|
20
|
-
ClientResource,
|
|
21
|
-
AsyncClientResource,
|
|
22
|
-
ClientResourceWithRawResponse,
|
|
23
|
-
AsyncClientResourceWithRawResponse,
|
|
24
|
-
ClientResourceWithStreamingResponse,
|
|
25
|
-
AsyncClientResourceWithStreamingResponse,
|
|
26
|
-
)
|
|
27
19
|
from .health import (
|
|
28
20
|
HealthResource,
|
|
29
21
|
AsyncHealthResource,
|
|
@@ -32,6 +24,14 @@ from .health import (
|
|
|
32
24
|
HealthResourceWithStreamingResponse,
|
|
33
25
|
AsyncHealthResourceWithStreamingResponse,
|
|
34
26
|
)
|
|
27
|
+
from .storage import (
|
|
28
|
+
StorageResource,
|
|
29
|
+
AsyncStorageResource,
|
|
30
|
+
StorageResourceWithRawResponse,
|
|
31
|
+
AsyncStorageResourceWithRawResponse,
|
|
32
|
+
StorageResourceWithStreamingResponse,
|
|
33
|
+
AsyncStorageResourceWithStreamingResponse,
|
|
34
|
+
)
|
|
35
35
|
|
|
36
36
|
__all__ = [
|
|
37
37
|
"DBResource",
|
|
@@ -52,10 +52,10 @@ __all__ = [
|
|
|
52
52
|
"AsyncFlowsResourceWithRawResponse",
|
|
53
53
|
"FlowsResourceWithStreamingResponse",
|
|
54
54
|
"AsyncFlowsResourceWithStreamingResponse",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
55
|
+
"StorageResource",
|
|
56
|
+
"AsyncStorageResource",
|
|
57
|
+
"StorageResourceWithRawResponse",
|
|
58
|
+
"AsyncStorageResourceWithRawResponse",
|
|
59
|
+
"StorageResourceWithStreamingResponse",
|
|
60
|
+
"AsyncStorageResourceWithStreamingResponse",
|
|
61
61
|
]
|