worqhat 3.8.0__py3-none-any.whl → 3.10.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. worqhat/_client.py +9 -10
  2. worqhat/_version.py +1 -1
  3. worqhat/resources/__init__.py +14 -14
  4. worqhat/resources/db/db.py +868 -24
  5. worqhat/resources/{client/storage.py → storage.py} +11 -11
  6. worqhat/types/__init__.py +20 -0
  7. worqhat/types/db_cluster_params.py +27 -0
  8. worqhat/types/db_cluster_response.py +44 -0
  9. worqhat/types/db_detect_anomalies_params.py +24 -0
  10. worqhat/types/db_detect_anomalies_response.py +50 -0
  11. worqhat/types/db_execute_query_params.py +9 -4
  12. worqhat/types/db_find_similar_params.py +31 -0
  13. worqhat/types/db_find_similar_response.py +30 -0
  14. worqhat/types/db_hybrid_search_params.py +32 -0
  15. worqhat/types/db_hybrid_search_response.py +48 -0
  16. worqhat/types/db_process_nl_query_params.py +0 -3
  17. worqhat/types/db_recommend_params.py +33 -0
  18. worqhat/types/db_recommend_response.py +36 -0
  19. worqhat/types/db_semantic_search_params.py +33 -0
  20. worqhat/types/db_semantic_search_response.py +36 -0
  21. worqhat/types/{client/storage_delete_file_by_id_response.py → storage_delete_file_by_id_response.py} +1 -1
  22. worqhat/types/{client/storage_retrieve_file_by_id_response.py → storage_retrieve_file_by_id_response.py} +1 -1
  23. worqhat/types/{client/storage_retrieve_file_by_path_response.py → storage_retrieve_file_by_path_response.py} +1 -1
  24. worqhat/types/{client/storage_upload_file_params.py → storage_upload_file_params.py} +1 -1
  25. worqhat/types/{client/storage_upload_file_response.py → storage_upload_file_response.py} +1 -1
  26. {worqhat-3.8.0.dist-info → worqhat-3.10.0.dist-info}/METADATA +1 -1
  27. {worqhat-3.8.0.dist-info → worqhat-3.10.0.dist-info}/RECORD +30 -21
  28. worqhat/resources/client/__init__.py +0 -33
  29. worqhat/resources/client/client.py +0 -102
  30. worqhat/types/client/__init__.py +0 -12
  31. /worqhat/types/{client/storage_retrieve_file_by_path_params.py → storage_retrieve_file_by_path_params.py} +0 -0
  32. {worqhat-3.8.0.dist-info → worqhat-3.10.0.dist-info}/WHEEL +0 -0
  33. {worqhat-3.8.0.dist-info → worqhat-3.10.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  worqhat/__init__.py,sha256=ycCt_XY4yHZZusG7P9qZl9JzhV7NlY12yQ_7wtvveF8,2633
2
2
  worqhat/_base_client.py,sha256=Hrs2OxsIt1EseR69nOOe3-BH8c2hrSt2PsL-C8zDwK8,67048
3
- worqhat/_client.py,sha256=RQtcSp0dS_r-7cg5jspXQw6YHlxSUzNG9DWD9PrD7vA,18725
3
+ worqhat/_client.py,sha256=NHh56eXQxMjlbNzFt6JlmbVb5SI4ksdT9uDbwkQGS4o,18725
4
4
  worqhat/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
5
5
  worqhat/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
6
  worqhat/_exceptions.py,sha256=n2QtRwhErTAw2JJQ8Vt95ZlTeJvve2qXF8B1Z6M_7Ao,3222
@@ -11,7 +11,7 @@ worqhat/_resource.py,sha256=2r0Ilj0AtogNG1TdsG6biEPWD5Ihgf1hOE51PwMEpyQ,1106
11
11
  worqhat/_response.py,sha256=NBeCvMH3I_Zr6-Gp_8aE-S7TtNphvnw_gTlK53-lew0,28794
12
12
  worqhat/_streaming.py,sha256=h3n2sOPN_iuD2DUno9BKZt0wT_F7GRZHcotRI5yuI0s,10104
13
13
  worqhat/_types.py,sha256=l1lNsjBVeSVoY_E2oIAbky9t1SU9P81OAbrR8kRQ3o0,7237
14
- worqhat/_version.py,sha256=Rdve7syzsfygZx66bhUXv33yxgKCbeTxCYY3FL9XG1Y,159
14
+ worqhat/_version.py,sha256=ZDzp7bzWimDDcW_tyV4AbLWLr0_H7i4a2zwiPQJP7d0,160
15
15
  worqhat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  worqhat/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
17
  worqhat/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
@@ -26,26 +26,36 @@ worqhat/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3ur9mcNF-E,
26
26
  worqhat/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
27
27
  worqhat/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,12253
28
28
  worqhat/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
29
- worqhat/resources/__init__.py,sha256=YZZt7iAfniYt5geyeYQL7hEdk4Lq8U-1pAswLZpMCFw,1837
29
+ worqhat/resources/__init__.py,sha256=GyDgUSdn0F477kMOCjkdda11hOnk1dRCL0CG0qLJ1xs,1850
30
30
  worqhat/resources/flows.py,sha256=JNyKSZBRtXrl_ucxPROUuXrmvf-NrlTIf5rL_2R94JU,17628
31
31
  worqhat/resources/health.py,sha256=SVF65ZTfJgUcpDH8UG5rGcwBUe8EkW8NddiNk0mlDkk,5127
32
- worqhat/resources/client/__init__.py,sha256=LLC_n_gLAsEGBmAOHDURaINTzeN_AGWu4K8P7tHNio4,1015
33
- worqhat/resources/client/client.py,sha256=syPhmQSQroD26yXdG6GopMjL2f7ZOHOYI-2VH693ZII,3636
34
- worqhat/resources/client/storage.py,sha256=WdcPzKhl9CMfRfNcOmytikinUAQ3yGWfBWi7nwMNRq8,18242
32
+ worqhat/resources/storage.py,sha256=N-0MuCBHB-jPNZ58u0Te3xkX2w4dkwShpapvnBViTfI,18196
35
33
  worqhat/resources/db/__init__.py,sha256=FdA8sX7Z6SK0k4-VLZmagXnmjdqpcwcGQ5RU6K4jWeg,950
36
- worqhat/resources/db/db.py,sha256=5eh7PCcKauE8kOALfkp8x2W8d-zhGqi0C6j0I8RVKmo,30054
34
+ worqhat/resources/db/db.py,sha256=Pllu8fDyQYTvNhxvkbKleE9gkO8_BnUS-vO3lvM4wIM,63555
37
35
  worqhat/resources/db/tables.py,sha256=F_vhzvifWc5nwe08m4S3dZ6qFs5sygRoBS1a0IYZMwk,14997
38
- worqhat/types/__init__.py,sha256=4waVrtzUd57wL6969sVbMVR-TthHs7iv3Aaal8cchN4,1924
36
+ worqhat/types/__init__.py,sha256=wHGjTTptL9Lj14t8G6dn3ZZVeDU5U0BSlwLtWAan6NM,3581
37
+ worqhat/types/db_cluster_params.py,sha256=xPRrFsXvbX45P1B_rCrbanzJbABemwaN2yWWKHBGzTo,756
38
+ worqhat/types/db_cluster_response.py,sha256=D5rFZYw46HqMAgvc9wQcE3PdmjJIK83hDj6yO2JC4KQ,1203
39
39
  worqhat/types/db_delete_records_params.py,sha256=OtHU2hQJEZAxOna4KXj3Vq94T67WRLOsqnFpPWVr87o,564
40
40
  worqhat/types/db_delete_records_response.py,sha256=x4RJZMKEK_yhdeD5m1k0segCRQecsQsEK2vtfs6PAoQ,434
41
+ worqhat/types/db_detect_anomalies_params.py,sha256=6DFiYxDvm5wVbGue0EMAPVHv_vJkbvx7RRc-_Ez-obg,672
42
+ worqhat/types/db_detect_anomalies_response.py,sha256=FCSHRtZQOvMMzpITecooqjTvK6yzptEgltORbrfoKSQ,1331
41
43
  worqhat/types/db_execute_batch_params.py,sha256=GHsi0VKn9nwgvn_vE56hWuTbkhAWEFOgD5ywKMyQPiQ,1038
42
44
  worqhat/types/db_execute_batch_response.py,sha256=ma2G7awwCs79vAEmAd0qsZ4mm7qtmrP85-gLyr0FXT8,678
43
- worqhat/types/db_execute_query_params.py,sha256=_6SyyLEUhbGySHTZRI0nyjsJoEQKjyE4LrUEvngOPiQ,551
45
+ worqhat/types/db_execute_query_params.py,sha256=F63dxBG2bq7d4akpDYyvJZyxipO2b7sA-w42jyuk1c4,753
44
46
  worqhat/types/db_execute_query_response.py,sha256=qUX3w3lMmSISCkUYqDURoW1e_0RyyUy03lNL_Y8tCsw,566
47
+ worqhat/types/db_find_similar_params.py,sha256=_jFU0tR3z4yXTqebK8Dx99H0ja1JlIsazXzqL5xuVGk,875
48
+ worqhat/types/db_find_similar_response.py,sha256=oSwPjtIOIdYkCu6YuqR-XFgdondV24kjEhRo9wsl9So,824
49
+ worqhat/types/db_hybrid_search_params.py,sha256=QdLSeKbaQIf71aF-O3Urpr1111zcN2JG2VoowE15Oq4,884
50
+ worqhat/types/db_hybrid_search_response.py,sha256=fy2s_6zEfikXL3deeMQbvLSIax1mH2jNYxGd8G0C9_E,1282
45
51
  worqhat/types/db_insert_record_params.py,sha256=v3R20cbxZebwDE6Nn5dU_3l2KKItp75Zl1BqcNS1jkE,559
46
52
  worqhat/types/db_insert_record_response.py,sha256=X3_9MhXkf3XHrJisAd7bFy1qF3jnvwcLtt6t8QPl6Fo,351
47
- worqhat/types/db_process_nl_query_params.py,sha256=CB2xfCXM_a5TFAjnzsFG9PWKhNHoCVU0Vl8ICLnMnic,625
53
+ worqhat/types/db_process_nl_query_params.py,sha256=giDIFmqMuD-7H9Qj4PU7772_2choWB-3q95tG-dx_PA,569
48
54
  worqhat/types/db_process_nl_query_response.py,sha256=b89K4MPIVUOm4KSmXumwx8mE2xhvzUvGAQhlbQGeyfo,432
55
+ worqhat/types/db_recommend_params.py,sha256=cQEMS5LAgjmsKutII7J4qWNgOZM_JBo8htixQ2fr0d0,988
56
+ worqhat/types/db_recommend_response.py,sha256=7uEnn8anOZC6b5ciHx6ydKdPC_miVd1hGAplKuugY-4,985
57
+ worqhat/types/db_semantic_search_params.py,sha256=ttfUVVDb_cLHoZiQHax2w5gyxJ3HiHXDoLmPEZFJ67Y,941
58
+ worqhat/types/db_semantic_search_response.py,sha256=PA-fQihMv6SYs8N4nwQDZi1QQhMeI_S4T4FGEA1TeCE,972
49
59
  worqhat/types/db_update_records_params.py,sha256=AdnLX5UncobxEuTWZPJ_s_NZiykNwVie3TjC9FyNOCU,621
50
60
  worqhat/types/db_update_records_response.py,sha256=2nJr_NHr7eMi8cJNi1GHTCbmcNlJxO3EiysxBfZVxzo,434
51
61
  worqhat/types/flow_get_metrics_params.py,sha256=x4SgBnhjUDIabDVd3f3_wVGldHSLelUSSM_AoxpglTs,768
@@ -56,13 +66,12 @@ worqhat/types/flow_trigger_with_payload_params.py,sha256=hHhYGbfzAilN0G44uYayybi
56
66
  worqhat/types/flow_trigger_with_payload_response.py,sha256=XT-6VEfTbpM3o098AATogw9s-X60gsd18b4T_xOiW60,479
57
67
  worqhat/types/get_server_info_response.py,sha256=Ev88Yr-DGVx00hluVKMnY4xq-VluFvcQ6z08XZTPcCE,332
58
68
  worqhat/types/health_check_response.py,sha256=29tvzgqsy6wVfFwVunK5ouzSYeZGEUnQQuQpAQGsoxI,885
59
- worqhat/types/client/__init__.py,sha256=6fToUXRcAxryUcLSh9gzMHWZbdhNz6kaISDbEObR4ug,788
60
- worqhat/types/client/storage_delete_file_by_id_response.py,sha256=TVB6w81mx4CTvBtAyvVi4YLtvCrcqRmoGlHqSBVDga4,466
61
- worqhat/types/client/storage_retrieve_file_by_id_response.py,sha256=P4ML2vBH2V4LmZ3mAldM1Zq7AYQCKV6Pknyay1w6-H8,809
62
- worqhat/types/client/storage_retrieve_file_by_path_params.py,sha256=jxHUEBfKYH2zUEGlL1ytIFkzTWthTdPqNX_46H-9eiU,368
63
- worqhat/types/client/storage_retrieve_file_by_path_response.py,sha256=ZaJfgvJtTGpoWaOocaEUNIyo8YbXnlKD0weVItL5XMY,813
64
- worqhat/types/client/storage_upload_file_params.py,sha256=TIAd6lZGJYze0PKtDk50yfpiVdToKZKr7KXcqNIcql0,442
65
- worqhat/types/client/storage_upload_file_response.py,sha256=XA9xzjMQXDH4m55b46_wCBs14LewD_5aXXvYFk-qWas,760
69
+ worqhat/types/storage_delete_file_by_id_response.py,sha256=zAMTNS3wa9Q0b2WpDEdqwr8HKRAK51z2QdyJSM3n6So,465
70
+ worqhat/types/storage_retrieve_file_by_id_response.py,sha256=ee4kOIX6XRNdauAx6C9QSnw7Z_WBYgltCIRS_OrHpWw,808
71
+ worqhat/types/storage_retrieve_file_by_path_params.py,sha256=jxHUEBfKYH2zUEGlL1ytIFkzTWthTdPqNX_46H-9eiU,368
72
+ worqhat/types/storage_retrieve_file_by_path_response.py,sha256=C5P4OZ_5pGJPASBC7o5iV-m2jqT-gbcnHWm9u2sx1uM,812
73
+ worqhat/types/storage_upload_file_params.py,sha256=UHxyVPYyvX4KpEGUJK5wjN4N6Sh3TOfJYz9cNtDOanM,441
74
+ worqhat/types/storage_upload_file_response.py,sha256=06xcnG2tpL7tPFvieyUsvcg-cxqYXdVEMU2-P8eEcOU,759
66
75
  worqhat/types/db/__init__.py,sha256=A11__5Vr1Ju2JdH7t5DpvVaYqoImM8Bf-iFYwjAr2Kc,645
67
76
  worqhat/types/db/table_get_row_count_params.py,sha256=jT6P25NN22TZe5Lk8TzMKY4dB9ReJQ2o33LQeTxS3Bs,362
68
77
  worqhat/types/db/table_get_row_count_response.py,sha256=jr3O3NQl1o8rVaoG1ilK1h1LOELc1d1AkbVAYGG1Go0,335
@@ -70,7 +79,7 @@ worqhat/types/db/table_list_params.py,sha256=aiq4uIj9lNsnoN3-FgNn_mSfwUzX5XchPvl
70
79
  worqhat/types/db/table_list_response.py,sha256=gbktGz4ilObaMkbA9_t0UussYuSBPEN9cuhh6_IXnNw,578
71
80
  worqhat/types/db/table_retrieve_schema_params.py,sha256=DFQaflB9weCc8JjqXkaAK-TLfy1IXTev7-vh4O0RYFk,368
72
81
  worqhat/types/db/table_retrieve_schema_response.py,sha256=-OHPvWJSGJzEScrRPilQVsuU_60U7qIJ3_ZleVwJ1j0,655
73
- worqhat-3.8.0.dist-info/METADATA,sha256=ToXSaIc4-SJwf4WnAId8VJMOCeVpuOe2ViH-T8fdxWo,14313
74
- worqhat-3.8.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
75
- worqhat-3.8.0.dist-info/licenses/LICENSE,sha256=UwMftLIOitTJWtJ9bowByxdt9ZSFqmmb43oQosW5xiU,11337
76
- worqhat-3.8.0.dist-info/RECORD,,
82
+ worqhat-3.10.0.dist-info/METADATA,sha256=3SAviC5JfiomEKLWwvioGy_ZlUkbZ8VSuMgiChLae1k,14314
83
+ worqhat-3.10.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
84
+ worqhat-3.10.0.dist-info/licenses/LICENSE,sha256=UwMftLIOitTJWtJ9bowByxdt9ZSFqmmb43oQosW5xiU,11337
85
+ worqhat-3.10.0.dist-info/RECORD,,
@@ -1,33 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from .client import (
4
- ClientResource,
5
- AsyncClientResource,
6
- ClientResourceWithRawResponse,
7
- AsyncClientResourceWithRawResponse,
8
- ClientResourceWithStreamingResponse,
9
- AsyncClientResourceWithStreamingResponse,
10
- )
11
- from .storage import (
12
- StorageResource,
13
- AsyncStorageResource,
14
- StorageResourceWithRawResponse,
15
- AsyncStorageResourceWithRawResponse,
16
- StorageResourceWithStreamingResponse,
17
- AsyncStorageResourceWithStreamingResponse,
18
- )
19
-
20
- __all__ = [
21
- "StorageResource",
22
- "AsyncStorageResource",
23
- "StorageResourceWithRawResponse",
24
- "AsyncStorageResourceWithRawResponse",
25
- "StorageResourceWithStreamingResponse",
26
- "AsyncStorageResourceWithStreamingResponse",
27
- "ClientResource",
28
- "AsyncClientResource",
29
- "ClientResourceWithRawResponse",
30
- "AsyncClientResourceWithRawResponse",
31
- "ClientResourceWithStreamingResponse",
32
- "AsyncClientResourceWithStreamingResponse",
33
- ]
@@ -1,102 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .storage import (
6
- StorageResource,
7
- AsyncStorageResource,
8
- StorageResourceWithRawResponse,
9
- AsyncStorageResourceWithRawResponse,
10
- StorageResourceWithStreamingResponse,
11
- AsyncStorageResourceWithStreamingResponse,
12
- )
13
- from ..._compat import cached_property
14
- from ..._resource import SyncAPIResource, AsyncAPIResource
15
-
16
- __all__ = ["ClientResource", "AsyncClientResource"]
17
-
18
-
19
- class ClientResource(SyncAPIResource):
20
- @cached_property
21
- def storage(self) -> StorageResource:
22
- return StorageResource(self._client)
23
-
24
- @cached_property
25
- def with_raw_response(self) -> ClientResourceWithRawResponse:
26
- """
27
- This property can be used as a prefix for any HTTP method call to return
28
- the raw response object instead of the parsed content.
29
-
30
- For more information, see https://www.github.com/WorqHat/worqhat-python-sdk#accessing-raw-response-data-eg-headers
31
- """
32
- return ClientResourceWithRawResponse(self)
33
-
34
- @cached_property
35
- def with_streaming_response(self) -> ClientResourceWithStreamingResponse:
36
- """
37
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
38
-
39
- For more information, see https://www.github.com/WorqHat/worqhat-python-sdk#with_streaming_response
40
- """
41
- return ClientResourceWithStreamingResponse(self)
42
-
43
-
44
- class AsyncClientResource(AsyncAPIResource):
45
- @cached_property
46
- def storage(self) -> AsyncStorageResource:
47
- return AsyncStorageResource(self._client)
48
-
49
- @cached_property
50
- def with_raw_response(self) -> AsyncClientResourceWithRawResponse:
51
- """
52
- This property can be used as a prefix for any HTTP method call to return
53
- the raw response object instead of the parsed content.
54
-
55
- For more information, see https://www.github.com/WorqHat/worqhat-python-sdk#accessing-raw-response-data-eg-headers
56
- """
57
- return AsyncClientResourceWithRawResponse(self)
58
-
59
- @cached_property
60
- def with_streaming_response(self) -> AsyncClientResourceWithStreamingResponse:
61
- """
62
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
63
-
64
- For more information, see https://www.github.com/WorqHat/worqhat-python-sdk#with_streaming_response
65
- """
66
- return AsyncClientResourceWithStreamingResponse(self)
67
-
68
-
69
- class ClientResourceWithRawResponse:
70
- def __init__(self, client: ClientResource) -> None:
71
- self._client = client
72
-
73
- @cached_property
74
- def storage(self) -> StorageResourceWithRawResponse:
75
- return StorageResourceWithRawResponse(self._client.storage)
76
-
77
-
78
- class AsyncClientResourceWithRawResponse:
79
- def __init__(self, client: AsyncClientResource) -> None:
80
- self._client = client
81
-
82
- @cached_property
83
- def storage(self) -> AsyncStorageResourceWithRawResponse:
84
- return AsyncStorageResourceWithRawResponse(self._client.storage)
85
-
86
-
87
- class ClientResourceWithStreamingResponse:
88
- def __init__(self, client: ClientResource) -> None:
89
- self._client = client
90
-
91
- @cached_property
92
- def storage(self) -> StorageResourceWithStreamingResponse:
93
- return StorageResourceWithStreamingResponse(self._client.storage)
94
-
95
-
96
- class AsyncClientResourceWithStreamingResponse:
97
- def __init__(self, client: AsyncClientResource) -> None:
98
- self._client = client
99
-
100
- @cached_property
101
- def storage(self) -> AsyncStorageResourceWithStreamingResponse:
102
- return AsyncStorageResourceWithStreamingResponse(self._client.storage)
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .storage_upload_file_params import StorageUploadFileParams as StorageUploadFileParams
6
- from .storage_upload_file_response import StorageUploadFileResponse as StorageUploadFileResponse
7
- from .storage_delete_file_by_id_response import StorageDeleteFileByIDResponse as StorageDeleteFileByIDResponse
8
- from .storage_retrieve_file_by_id_response import StorageRetrieveFileByIDResponse as StorageRetrieveFileByIDResponse
9
- from .storage_retrieve_file_by_path_params import StorageRetrieveFileByPathParams as StorageRetrieveFileByPathParams
10
- from .storage_retrieve_file_by_path_response import (
11
- StorageRetrieveFileByPathResponse as StorageRetrieveFileByPathResponse,
12
- )