Skip to content

Commit 95a629b

Browse files
authored
Merge pull request #16 from scaleapi/release-please--branches--main--changes--next
release: 0.1.0-alpha.6
2 parents 66fcf0c + d741a8b commit 95a629b

File tree

14 files changed

+80
-50
lines changed

14 files changed

+80
-50
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.5"
2+
".": "0.1.0-alpha.6"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 34
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-1d08fb2290b5310c91801d7575d356628d372fd5434e15d3b9cead48eadb893f.yml
3-
openapi_spec_hash: c07c588fb8429fbf024189df62f20fa4
4-
config_hash: 2e4b423af3db79ebd8170c401ea9093a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-62a09183a027c64707ad1b9d7a5ccc66c8abf3965e6075282cb5ab72f742a2b3.yml
3+
openapi_spec_hash: 47f43703822077a82e2edf82d4b7e0e5
4+
config_hash: e9fb383df76f572ee9aefe7b876adc2f

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 0.1.0-alpha.6 (2025-07-23)
4+
5+
Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/scaleapi/agentex-python/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
6+
7+
### Features
8+
9+
* **api:** api update ([af18034](https://github.com/scaleapi/agentex-python/commit/af18034e4173794ebf42eff688f26d64caca4e64))
10+
* **api:** api update ([be9b603](https://github.com/scaleapi/agentex-python/commit/be9b60326817566d5c5edcbd7b7babb6db07e539))
11+
* **api:** manual updates ([bbe3be3](https://github.com/scaleapi/agentex-python/commit/bbe3be30aa9fb8d7a677f0e9f0be4dd565563d6e))
12+
313
## 0.1.0-alpha.5 (2025-07-23)
414

515
Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/scaleapi/agentex-python/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Agentex Python API library
22

33
<!-- prettier-ignore -->
4-
[![PyPI version](https://img.shields.io/pypi/v/agentex.svg?label=pypi%20(stable))](https://pypi.org/project/agentex/)
4+
[![PyPI version](https://img.shields.io/pypi/v/agentex-sdk.svg?label=pypi%20(stable))](https://pypi.org/project/agentex-sdk/)
55

66
The Agentex Python library provides convenient access to the Agentex REST API from any Python 3.8+
77
application. The library includes type definitions for all request params and response fields,
@@ -21,7 +21,7 @@ pip install git+ssh://[email protected]/scaleapi/agentex-python.git
2121
```
2222

2323
> [!NOTE]
24-
> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install --pre agentex`
24+
> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install --pre agentex-sdk`
2525
2626
## Usage
2727

@@ -78,7 +78,7 @@ You can enable this by installing `aiohttp`:
7878

7979
```sh
8080
# install from the production repo
81-
pip install 'agentex[aiohttp] @ git+ssh://[email protected]/scaleapi/agentex-python.git'
81+
pip install 'agentex-sdk[aiohttp] @ git+ssh://[email protected]/scaleapi/agentex-python.git'
8282
```
8383

8484
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:

api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ Methods:
4242
Types:
4343

4444
```python
45-
from agentex.types import Task, TaskListResponse
45+
from agentex.types import Task, TaskListResponse, TaskDeleteResponse, TaskDeleteByNameResponse
4646
```
4747

4848
Methods:
4949

5050
- <code title="get /tasks/{task_id}">client.tasks.<a href="./src/agentex/resources/tasks.py">retrieve</a>(task_id) -> <a href="./src/agentex/types/task.py">Task</a></code>
5151
- <code title="get /tasks">client.tasks.<a href="./src/agentex/resources/tasks.py">list</a>() -> <a href="./src/agentex/types/task_list_response.py">TaskListResponse</a></code>
52-
- <code title="delete /tasks/{task_id}">client.tasks.<a href="./src/agentex/resources/tasks.py">delete</a>(task_id) -> <a href="./src/agentex/types/task.py">Task</a></code>
53-
- <code title="delete /tasks/name/{task_name}">client.tasks.<a href="./src/agentex/resources/tasks.py">delete_by_name</a>(task_name) -> <a href="./src/agentex/types/task.py">Task</a></code>
52+
- <code title="delete /tasks/{task_id}">client.tasks.<a href="./src/agentex/resources/tasks.py">delete</a>(task_id) -> <a href="./src/agentex/types/task_delete_response.py">TaskDeleteResponse</a></code>
53+
- <code title="delete /tasks/name/{task_name}">client.tasks.<a href="./src/agentex/resources/tasks.py">delete_by_name</a>(task_name) -> <a href="./src/agentex/types/task_delete_by_name_response.py">TaskDeleteByNameResponse</a></code>
5454
- <code title="get /tasks/name/{task_name}">client.tasks.<a href="./src/agentex/resources/tasks.py">retrieve_by_name</a>(task_name) -> <a href="./src/agentex/types/task.py">Task</a></code>
5555
- <code title="get /tasks/{task_id}/stream">client.tasks.<a href="./src/agentex/resources/tasks.py">stream_events</a>(task_id) -> object</code>
5656
- <code title="get /tasks/name/{task_name}/stream">client.tasks.<a href="./src/agentex/resources/tasks.py">stream_events_by_name</a>(task_name) -> object</code>

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
2-
name = "agentex"
3-
version = "0.1.0-alpha.5"
2+
name = "agentex-sdk"
3+
version = "0.1.0-alpha.6"
44
description = "The official Python library for the agentex API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

requirements-dev.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
aiohappyeyeballs==2.6.1
1414
# via aiohttp
1515
aiohttp==3.12.8
16-
# via agentex
16+
# via agentex-sdk
1717
# via httpx-aiohttp
1818
aiosignal==1.3.2
1919
# via aiohttp
2020
annotated-types==0.6.0
2121
# via pydantic
2222
anyio==4.4.0
23-
# via agentex
23+
# via agentex-sdk
2424
# via httpx
2525
argcomplete==3.1.2
2626
# via nox
@@ -37,7 +37,7 @@ dirty-equals==0.6.0
3737
distlib==0.3.7
3838
# via virtualenv
3939
distro==1.8.0
40-
# via agentex
40+
# via agentex-sdk
4141
exceptiongroup==1.2.2
4242
# via anyio
4343
# via pytest
@@ -53,11 +53,11 @@ h11==0.16.0
5353
httpcore==1.0.9
5454
# via httpx
5555
httpx==0.28.1
56-
# via agentex
56+
# via agentex-sdk
5757
# via httpx-aiohttp
5858
# via respx
5959
httpx-aiohttp==0.1.8
60-
# via agentex
60+
# via agentex-sdk
6161
idna==3.4
6262
# via anyio
6363
# via httpx
@@ -90,7 +90,7 @@ propcache==0.3.1
9090
# via aiohttp
9191
# via yarl
9292
pydantic==2.10.3
93-
# via agentex
93+
# via agentex-sdk
9494
pydantic-core==2.27.1
9595
# via pydantic
9696
pygments==2.18.0
@@ -113,14 +113,14 @@ setuptools==68.2.2
113113
six==1.16.0
114114
# via python-dateutil
115115
sniffio==1.3.0
116-
# via agentex
116+
# via agentex-sdk
117117
# via anyio
118118
time-machine==2.9.0
119119
tomli==2.0.2
120120
# via mypy
121121
# via pytest
122122
typing-extensions==4.12.2
123-
# via agentex
123+
# via agentex-sdk
124124
# via anyio
125125
# via multidict
126126
# via mypy

requirements.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
aiohappyeyeballs==2.6.1
1414
# via aiohttp
1515
aiohttp==3.12.8
16-
# via agentex
16+
# via agentex-sdk
1717
# via httpx-aiohttp
1818
aiosignal==1.3.2
1919
# via aiohttp
2020
annotated-types==0.6.0
2121
# via pydantic
2222
anyio==4.4.0
23-
# via agentex
23+
# via agentex-sdk
2424
# via httpx
2525
async-timeout==5.0.1
2626
# via aiohttp
@@ -30,7 +30,7 @@ certifi==2023.7.22
3030
# via httpcore
3131
# via httpx
3232
distro==1.8.0
33-
# via agentex
33+
# via agentex-sdk
3434
exceptiongroup==1.2.2
3535
# via anyio
3636
frozenlist==1.6.2
@@ -41,10 +41,10 @@ h11==0.16.0
4141
httpcore==1.0.9
4242
# via httpx
4343
httpx==0.28.1
44-
# via agentex
44+
# via agentex-sdk
4545
# via httpx-aiohttp
4646
httpx-aiohttp==0.1.8
47-
# via agentex
47+
# via agentex-sdk
4848
idna==3.4
4949
# via anyio
5050
# via httpx
@@ -56,14 +56,14 @@ propcache==0.3.1
5656
# via aiohttp
5757
# via yarl
5858
pydantic==2.10.3
59-
# via agentex
59+
# via agentex-sdk
6060
pydantic-core==2.27.1
6161
# via pydantic
6262
sniffio==1.3.0
63-
# via agentex
63+
# via agentex-sdk
6464
# via anyio
6565
typing-extensions==4.12.2
66-
# via agentex
66+
# via agentex-sdk
6767
# via anyio
6868
# via multidict
6969
# via pydantic

src/agentex/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "agentex"
4-
__version__ = "0.1.0-alpha.5" # x-release-please-version
4+
__version__ = "0.1.0-alpha.6" # x-release-please-version

src/agentex/resources/tasks.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
from ..types.task import Task
1818
from .._base_client import make_request_options
1919
from ..types.task_list_response import TaskListResponse
20+
from ..types.task_delete_response import TaskDeleteResponse
21+
from ..types.task_delete_by_name_response import TaskDeleteByNameResponse
2022

2123
__all__ = ["TasksResource", "AsyncTasksResource"]
2224

@@ -103,7 +105,7 @@ def delete(
103105
extra_query: Query | None = None,
104106
extra_body: Body | None = None,
105107
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
106-
) -> Task:
108+
) -> TaskDeleteResponse:
107109
"""
108110
Delete a task by its unique ID.
109111
@@ -123,7 +125,7 @@ def delete(
123125
options=make_request_options(
124126
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
125127
),
126-
cast_to=Task,
128+
cast_to=TaskDeleteResponse,
127129
)
128130

129131
def delete_by_name(
@@ -136,7 +138,7 @@ def delete_by_name(
136138
extra_query: Query | None = None,
137139
extra_body: Body | None = None,
138140
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
139-
) -> Task:
141+
) -> TaskDeleteByNameResponse:
140142
"""
141143
Delete a task by its unique name.
142144
@@ -156,7 +158,7 @@ def delete_by_name(
156158
options=make_request_options(
157159
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
158160
),
159-
cast_to=Task,
161+
cast_to=TaskDeleteByNameResponse,
160162
)
161163

162164
def retrieve_by_name(
@@ -345,7 +347,7 @@ async def delete(
345347
extra_query: Query | None = None,
346348
extra_body: Body | None = None,
347349
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
348-
) -> Task:
350+
) -> TaskDeleteResponse:
349351
"""
350352
Delete a task by its unique ID.
351353
@@ -365,7 +367,7 @@ async def delete(
365367
options=make_request_options(
366368
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
367369
),
368-
cast_to=Task,
370+
cast_to=TaskDeleteResponse,
369371
)
370372

371373
async def delete_by_name(
@@ -378,7 +380,7 @@ async def delete_by_name(
378380
extra_query: Query | None = None,
379381
extra_body: Body | None = None,
380382
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
381-
) -> Task:
383+
) -> TaskDeleteByNameResponse:
382384
"""
383385
Delete a task by its unique name.
384386
@@ -398,7 +400,7 @@ async def delete_by_name(
398400
options=make_request_options(
399401
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
400402
),
401-
cast_to=Task,
403+
cast_to=TaskDeleteByNameResponse,
402404
)
403405

404406
async def retrieve_by_name(

0 commit comments

Comments
 (0)