agentex-sdk 0.4.23__py3-none-any.whl → 0.4.24__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.
- agentex/__init__.py +3 -1
- agentex/_base_client.py +9 -9
- agentex/_client.py +12 -12
- agentex/_models.py +10 -4
- agentex/_qs.py +7 -7
- agentex/_types.py +18 -11
- agentex/_utils/_transform.py +2 -2
- agentex/_utils/_utils.py +4 -4
- agentex/_version.py +1 -1
- agentex/lib/cli/handlers/deploy_handlers.py +1 -1
- agentex/lib/core/temporal/workers/worker.py +2 -2
- agentex/resources/agents.py +25 -25
- agentex/resources/events.py +9 -9
- agentex/resources/messages/batch.py +5 -5
- agentex/resources/messages/messages.py +15 -15
- agentex/resources/spans.py +39 -39
- agentex/resources/states.py +15 -15
- agentex/resources/tasks.py +19 -19
- agentex/resources/tracker.py +17 -17
- {agentex_sdk-0.4.23.dist-info → agentex_sdk-0.4.24.dist-info}/METADATA +3 -3
- {agentex_sdk-0.4.23.dist-info → agentex_sdk-0.4.24.dist-info}/RECORD +24 -24
- {agentex_sdk-0.4.23.dist-info → agentex_sdk-0.4.24.dist-info}/WHEEL +0 -0
- {agentex_sdk-0.4.23.dist-info → agentex_sdk-0.4.24.dist-info}/entry_points.txt +0 -0
- {agentex_sdk-0.4.23.dist-info → agentex_sdk-0.4.24.dist-info}/licenses/LICENSE +0 -0
agentex/resources/tracker.py
CHANGED
@@ -7,7 +7,7 @@ from typing import Optional
|
|
7
7
|
import httpx
|
8
8
|
|
9
9
|
from ..types import tracker_list_params, tracker_update_params
|
10
|
-
from .._types import
|
10
|
+
from .._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
11
11
|
from .._utils import maybe_transform, async_maybe_transform
|
12
12
|
from .._compat import cached_property
|
13
13
|
from .._resource import SyncAPIResource, AsyncAPIResource
|
@@ -53,7 +53,7 @@ class TrackerResource(SyncAPIResource):
|
|
53
53
|
extra_headers: Headers | None = None,
|
54
54
|
extra_query: Query | None = None,
|
55
55
|
extra_body: Body | None = None,
|
56
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
56
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
57
57
|
) -> AgentTaskTracker:
|
58
58
|
"""
|
59
59
|
Get agent task tracker by tracker ID
|
@@ -81,15 +81,15 @@ class TrackerResource(SyncAPIResource):
|
|
81
81
|
self,
|
82
82
|
tracker_id: str,
|
83
83
|
*,
|
84
|
-
last_processed_event_id: Optional[str] |
|
85
|
-
status: Optional[str] |
|
86
|
-
status_reason: Optional[str] |
|
84
|
+
last_processed_event_id: Optional[str] | Omit = omit,
|
85
|
+
status: Optional[str] | Omit = omit,
|
86
|
+
status_reason: Optional[str] | Omit = omit,
|
87
87
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
88
88
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
89
89
|
extra_headers: Headers | None = None,
|
90
90
|
extra_query: Query | None = None,
|
91
91
|
extra_body: Body | None = None,
|
92
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
92
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
93
93
|
) -> AgentTaskTracker:
|
94
94
|
"""
|
95
95
|
Update agent task tracker by tracker ID
|
@@ -130,14 +130,14 @@ class TrackerResource(SyncAPIResource):
|
|
130
130
|
def list(
|
131
131
|
self,
|
132
132
|
*,
|
133
|
-
agent_id: Optional[str] |
|
134
|
-
task_id: Optional[str] |
|
133
|
+
agent_id: Optional[str] | Omit = omit,
|
134
|
+
task_id: Optional[str] | Omit = omit,
|
135
135
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
136
136
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
137
137
|
extra_headers: Headers | None = None,
|
138
138
|
extra_query: Query | None = None,
|
139
139
|
extra_body: Body | None = None,
|
140
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
140
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
141
141
|
) -> TrackerListResponse:
|
142
142
|
"""
|
143
143
|
List all agent task trackers, optionally filtered by query parameters.
|
@@ -203,7 +203,7 @@ class AsyncTrackerResource(AsyncAPIResource):
|
|
203
203
|
extra_headers: Headers | None = None,
|
204
204
|
extra_query: Query | None = None,
|
205
205
|
extra_body: Body | None = None,
|
206
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
206
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
207
207
|
) -> AgentTaskTracker:
|
208
208
|
"""
|
209
209
|
Get agent task tracker by tracker ID
|
@@ -231,15 +231,15 @@ class AsyncTrackerResource(AsyncAPIResource):
|
|
231
231
|
self,
|
232
232
|
tracker_id: str,
|
233
233
|
*,
|
234
|
-
last_processed_event_id: Optional[str] |
|
235
|
-
status: Optional[str] |
|
236
|
-
status_reason: Optional[str] |
|
234
|
+
last_processed_event_id: Optional[str] | Omit = omit,
|
235
|
+
status: Optional[str] | Omit = omit,
|
236
|
+
status_reason: Optional[str] | Omit = omit,
|
237
237
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
238
238
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
239
239
|
extra_headers: Headers | None = None,
|
240
240
|
extra_query: Query | None = None,
|
241
241
|
extra_body: Body | None = None,
|
242
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
242
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
243
243
|
) -> AgentTaskTracker:
|
244
244
|
"""
|
245
245
|
Update agent task tracker by tracker ID
|
@@ -280,14 +280,14 @@ class AsyncTrackerResource(AsyncAPIResource):
|
|
280
280
|
async def list(
|
281
281
|
self,
|
282
282
|
*,
|
283
|
-
agent_id: Optional[str] |
|
284
|
-
task_id: Optional[str] |
|
283
|
+
agent_id: Optional[str] | Omit = omit,
|
284
|
+
task_id: Optional[str] | Omit = omit,
|
285
285
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
286
286
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
287
287
|
extra_headers: Headers | None = None,
|
288
288
|
extra_query: Query | None = None,
|
289
289
|
extra_body: Body | None = None,
|
290
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
290
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
291
291
|
) -> TrackerListResponse:
|
292
292
|
"""
|
293
293
|
List all agent task trackers, optionally filtered by query parameters.
|
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: agentex-sdk
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.24
|
4
4
|
Summary: The official Python library for the agentex API
|
5
5
|
Project-URL: Homepage, https://github.com/scaleapi/agentex-python
|
6
6
|
Project-URL: Repository, https://github.com/scaleapi/agentex-python
|
7
|
-
Author: Agentex
|
7
|
+
Author-email: Agentex <roxanne.farhad@scale.com>
|
8
8
|
License: Apache-2.0
|
9
9
|
Classifier: Intended Audience :: Developers
|
10
10
|
Classifier: License :: OSI Approved :: Apache Software License
|
@@ -76,7 +76,7 @@ It is generated with [Stainless](https://www.stainless.com/).
|
|
76
76
|
|
77
77
|
## Documentation
|
78
78
|
|
79
|
-
The full API of this library can be found in [api.md](https://github.com/scaleapi/agentex-python/tree/main/api.md).
|
79
|
+
The REST API documentation can be found on [docs.gp.scale.com](https://docs.gp.scale.com). The full API of this library can be found in [api.md](https://github.com/scaleapi/agentex-python/tree/main/api.md).
|
80
80
|
|
81
81
|
## Installation
|
82
82
|
|
@@ -1,17 +1,17 @@
|
|
1
|
-
agentex/__init__.py,sha256=
|
2
|
-
agentex/_base_client.py,sha256=
|
3
|
-
agentex/_client.py,sha256=
|
1
|
+
agentex/__init__.py,sha256=TvS8DtvGAnubcoUjYIsuCpBzpsdpxBaJCS76s-l-PRo,2712
|
2
|
+
agentex/_base_client.py,sha256=g9DKGvDYgnfB-j2mI6ZigM-mIIwQIlTrsLl4wMgkpyI,67048
|
3
|
+
agentex/_client.py,sha256=xNwZptOIt3bTyDgyN4lGoSHIJ3lpzD_eBzhAtl074zs,20478
|
4
4
|
agentex/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
|
5
5
|
agentex/_constants.py,sha256=oGldMuFz7eZtwD8_6rJUippKhZB5fGSA7ffbCDGourA,466
|
6
6
|
agentex/_exceptions.py,sha256=B09aFjWFRSShb9BFJd-MNDblsGDyGk3w-vItYmjg_AI,3222
|
7
7
|
agentex/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
|
8
|
-
agentex/_models.py,sha256=
|
9
|
-
agentex/_qs.py,sha256=
|
8
|
+
agentex/_models.py,sha256=lKnskYPONAWDvWo8tmbbVk7HmG7UOsI0Nve0vSMmkRc,30452
|
9
|
+
agentex/_qs.py,sha256=craIKyvPktJ94cvf9zn8j8ekG9dWJzhWv0ob34lIOv4,4828
|
10
10
|
agentex/_resource.py,sha256=S1t7wmR5WUvoDIhZjo_x-E7uoTJBynJ3d8tPJMQYdjw,1106
|
11
11
|
agentex/_response.py,sha256=Tb9zazsnemO2rTxWtBjAD5WBqlhli5ZaXGbiKgdu5DE,28794
|
12
12
|
agentex/_streaming.py,sha256=FNGJExRCF-vTRUZHFKUfoAWFhDGOB3XbioVCF37Jr7E,10104
|
13
|
-
agentex/_types.py,sha256=
|
14
|
-
agentex/_version.py,sha256=
|
13
|
+
agentex/_types.py,sha256=F6X63N7bOstytAtVqJ9Yl7T_JbR9Od2MJfZ_iK5DqOY,7237
|
14
|
+
agentex/_version.py,sha256=3u9d8Ipu-NxBeAQOAWWzslmeVrW0JzCYRJIOm0hgsW0,160
|
15
15
|
agentex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
agentex/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
17
17
|
agentex/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
@@ -22,9 +22,9 @@ agentex/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU
|
|
22
22
|
agentex/_utils/_resources_proxy.py,sha256=W1Rrg7LVZHLIUq40nOfgQv6orKG16CKqDRKHiaSUVYg,594
|
23
23
|
agentex/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
|
24
24
|
agentex/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
|
25
|
-
agentex/_utils/_transform.py,sha256=
|
25
|
+
agentex/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3ur9mcNF-E,15951
|
26
26
|
agentex/_utils/_typing.py,sha256=fb420NYkXitEaod2CiEH-hCtzG1z9WKUQiFtuukHtr4,4967
|
27
|
-
agentex/_utils/_utils.py,sha256=
|
27
|
+
agentex/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,12253
|
28
28
|
agentex/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
29
29
|
agentex/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
30
30
|
agentex/lib/environment_variables.py,sha256=IYUlG6a7r8f99FhNMuXnzQSg5WRFqsZtrtYMpIUqG4c,3574
|
@@ -63,7 +63,7 @@ agentex/lib/cli/debug/debug_handlers.py,sha256=CZ8i5Xf50IQOeMvNfNgE5AgphkxnPo4jf
|
|
63
63
|
agentex/lib/cli/handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
64
64
|
agentex/lib/cli/handlers/agent_handlers.py,sha256=xy2kXo7poV270yFLyqXNbZ79d_sq_vl5JAs93okYMHY,5604
|
65
65
|
agentex/lib/cli/handlers/cleanup_handlers.py,sha256=T6ekNCBr2FV19r4jZiKSeoheQWihy2H1Q6fvWUVeUiw,7073
|
66
|
-
agentex/lib/cli/handlers/deploy_handlers.py,sha256=
|
66
|
+
agentex/lib/cli/handlers/deploy_handlers.py,sha256=FmsRTQ0pWY-dXYxkw-6RUFNQf9mWdWpxtzQhrsEWEtU,16207
|
67
67
|
agentex/lib/cli/handlers/run_handlers.py,sha256=jhkUdiSz-ZL5NLOtgdUzUboxZeobJdUmjnF2lArSiig,15815
|
68
68
|
agentex/lib/cli/handlers/secret_handlers.py,sha256=hozcJJwWfECFtv_SdQnThcrhnKsiBm3y1jG1MqxVcoc,24851
|
69
69
|
agentex/lib/cli/templates/default/.dockerignore.j2,sha256=hweGFxw5eDZYsb5EnRHpv27o9M1HF2PEWOxqsfBBcAE,320
|
@@ -163,7 +163,7 @@ agentex/lib/core/temporal/services/temporal_task_service.py,sha256=W0L2GkSWwO2WZ
|
|
163
163
|
agentex/lib/core/temporal/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
164
164
|
agentex/lib/core/temporal/types/workflow.py,sha256=o8lBUloI44NTYFfbA1BLgzUneyN7aLbt042Eq_9OKo8,89
|
165
165
|
agentex/lib/core/temporal/workers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
166
|
-
agentex/lib/core/temporal/workers/worker.py,sha256=
|
166
|
+
agentex/lib/core/temporal/workers/worker.py,sha256=WW3e7_rPrN-YGr2Qusn2lP_2LfRKx4Vog66gHtFUYTY,8262
|
167
167
|
agentex/lib/core/temporal/workflows/workflow.py,sha256=ZoWsrNPup69RnMHnuks1DRy9YsmK_nYdjsOosYVfFxw,723
|
168
168
|
agentex/lib/core/tracing/__init__.py,sha256=07j9IRgZWFtZhdkk01l1nvaC5aCpygLWy94yXpYUZbM,229
|
169
169
|
agentex/lib/core/tracing/trace.py,sha256=b-TnBMEdUsZzKq2jfXU-GvFNxrfm6l_-YJtcw1nhohU,8952
|
@@ -231,15 +231,15 @@ agentex/lib/utils/temporal.py,sha256=sXo8OPMMXiyrF7OSBCJBuN_ufyQOD2bLOXgDbVZoyds
|
|
231
231
|
agentex/lib/utils/dev_tools/__init__.py,sha256=oaHxw6ymfhNql-kzXHv3NWVHuqD4fHumasNXJG7kHTU,261
|
232
232
|
agentex/lib/utils/dev_tools/async_messages.py,sha256=NWzjhzQLBddA8KnGF3OdOAqHJM3Cin-9EJsLht4dgi4,20085
|
233
233
|
agentex/resources/__init__.py,sha256=74rMqWBzQ2dSrKQqsrd7-jskPws0O_ogkFltvZO3HoU,3265
|
234
|
-
agentex/resources/agents.py,sha256=
|
235
|
-
agentex/resources/events.py,sha256=
|
236
|
-
agentex/resources/spans.py,sha256=
|
237
|
-
agentex/resources/states.py,sha256=
|
238
|
-
agentex/resources/tasks.py,sha256=
|
239
|
-
agentex/resources/tracker.py,sha256=
|
234
|
+
agentex/resources/agents.py,sha256=DwED26YJdXt-xinEXvSZemNCjF5cXkwUUNVpjp616zE,47095
|
235
|
+
agentex/resources/events.py,sha256=aHMNC1tn1dupLkTpqFpD0ZeohpMsUKiyFo7b2slthis,10388
|
236
|
+
agentex/resources/spans.py,sha256=Z22BPE-UILfV1dxCVJfQ3zO5h0kc-ck8mAwKfUV7jzI,20678
|
237
|
+
agentex/resources/states.py,sha256=XB2-NMMXKZSOt9-HE_-9uTKvfwGoekn-ag1JvhKAfUA,19238
|
238
|
+
agentex/resources/tasks.py,sha256=ELR2Z5Rs5hr1V3WIjO9AGGIZfQv9LN9m1PsBABToEeI,24720
|
239
|
+
agentex/resources/tracker.py,sha256=O_9LIk-sPvrjXIM8t4C2264nk9PdV4EfpkVh62HrBfY,14025
|
240
240
|
agentex/resources/messages/__init__.py,sha256=_J1eusFtr_k6zrAntJSuqx6LWEUBSTrV1OZZh7MaDPE,1015
|
241
|
-
agentex/resources/messages/batch.py,sha256=
|
242
|
-
agentex/resources/messages/messages.py,sha256
|
241
|
+
agentex/resources/messages/batch.py,sha256=rlPsd21NQfHnG5emknYjoy7UqD100KldT0vho7iKdMk,9629
|
242
|
+
agentex/resources/messages/messages.py,sha256=-GNnSgVIy134fq0v3lbjFh3qr2teM0jmYuyYEzsWz4o,17888
|
243
243
|
agentex/types/__init__.py,sha256=lEuWxr1ggBzZAUGYrSmIhcSSZ7z5UQSIfNtmUrELC2s,3884
|
244
244
|
agentex/types/acp_type.py,sha256=Fj-4SzmM6m95ck_ZXtNbcWggHiD9F49bxBLPbl1fxe4,208
|
245
245
|
agentex/types/agent.py,sha256=ihRNn9mksULA5FuiyanKA7B-lmN4OVr6wBqNzUb8Tcg,1208
|
@@ -304,8 +304,8 @@ agentex/types/messages/batch_update_params.py,sha256=Ug5CThbD49a8j4qucg04OdmVrp_
|
|
304
304
|
agentex/types/messages/batch_update_response.py,sha256=TbSBe6SuPzjXXWSj-nRjT1JHGBooTshHQQDa1AixQA8,278
|
305
305
|
agentex/types/shared/__init__.py,sha256=IKs-Qn5Yja0kFh1G1kDqYZo43qrOu1hSoxlPdN-85dI,149
|
306
306
|
agentex/types/shared/delete_response.py,sha256=8qH3zvQXaOHYQSHyXi7UQxdR4miTzR7V9K4zXVsiUyk,215
|
307
|
-
agentex_sdk-0.4.
|
308
|
-
agentex_sdk-0.4.
|
309
|
-
agentex_sdk-0.4.
|
310
|
-
agentex_sdk-0.4.
|
311
|
-
agentex_sdk-0.4.
|
307
|
+
agentex_sdk-0.4.24.dist-info/METADATA,sha256=bwPGsOYxBu-ezGuua2_J9PGPmXz3G4v3esdvy2iN4Lw,15322
|
308
|
+
agentex_sdk-0.4.24.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
309
|
+
agentex_sdk-0.4.24.dist-info/entry_points.txt,sha256=V7vJuMZdF0UlvgX6KiBN7XUvq_cxF5kplcYvc1QlFaQ,62
|
310
|
+
agentex_sdk-0.4.24.dist-info/licenses/LICENSE,sha256=Q1AOx2FtRcMlyMgQJ9eVN2WKPq2mQ33lnB4tvWxabLA,11337
|
311
|
+
agentex_sdk-0.4.24.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|