From c02afdbec958df84a3e1ec73e213e683c79b04e8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 18 Dec 2025 06:47:34 +0000 Subject: [PATCH 1/3] fix: use async_to_httpx_files in patch method --- src/warp_agent_sdk/_base_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/warp_agent_sdk/_base_client.py b/src/warp_agent_sdk/_base_client.py index 7f4a21c..41099fd 100644 --- a/src/warp_agent_sdk/_base_client.py +++ b/src/warp_agent_sdk/_base_client.py @@ -1774,7 +1774,7 @@ async def patch( options: RequestOptions = {}, ) -> ResponseT: opts = FinalRequestOptions.construct( - method="patch", url=path, json_data=body, files=to_httpx_files(files), **options + method="patch", url=path, json_data=body, files=await async_to_httpx_files(files), **options ) return await self.request(cast_to, opts) From 46a9b4bdceac62a8939f66b0227943d18db5393f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 19 Dec 2025 05:59:38 +0000 Subject: [PATCH 2/3] chore(internal): add `--fix` argument to lint script --- scripts/lint | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/lint b/scripts/lint index 6a63b41..4cfe975 100755 --- a/scripts/lint +++ b/scripts/lint @@ -4,8 +4,13 @@ set -e cd "$(dirname "$0")/.." -echo "==> Running ruff" -uv run ruff check . +if [ "$1" = "--fix" ]; then + echo "==> Running ruff with --fix" + uv run ruff check . --fix +else + echo "==> Running ruff" + uv run ruff check . +fi echo "==> Running pyright" uv run pyright From 35877f7f1630a02d70d399dce2e2843171157668 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 19 Dec 2025 05:59:55 +0000 Subject: [PATCH 3/3] release: 0.2.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- src/warp_agent_sdk/_version.py | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 10f3091..b06ba91 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.2.0" + ".": "0.2.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index bbcd584..7e273f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.2.1 (2025-12-19) + +Full Changelog: [v0.2.0...v0.2.1](https://github.com/warpdotdev/warp-sdk-python/compare/v0.2.0...v0.2.1) + +### Bug Fixes + +* use async_to_httpx_files in patch method ([c02afdb](https://github.com/warpdotdev/warp-sdk-python/commit/c02afdbec958df84a3e1ec73e213e683c79b04e8)) + + +### Chores + +* **internal:** add `--fix` argument to lint script ([46a9b4b](https://github.com/warpdotdev/warp-sdk-python/commit/46a9b4bdceac62a8939f66b0227943d18db5393f)) + ## 0.2.0 (2025-12-17) Full Changelog: [v0.1.1...v0.2.0](https://github.com/warpdotdev/warp-sdk-python/compare/v0.1.1...v0.2.0) diff --git a/pyproject.toml b/pyproject.toml index 309bb73..497fa87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "warp-agent-sdk" -version = "0.2.0" +version = "0.2.1" description = "The official Python library for the warp-api API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/warp_agent_sdk/_version.py b/src/warp_agent_sdk/_version.py index 5a396ab..acc9e70 100644 --- a/src/warp_agent_sdk/_version.py +++ b/src/warp_agent_sdk/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "warp_agent_sdk" -__version__ = "0.2.0" # x-release-please-version +__version__ = "0.2.1" # x-release-please-version