Skip to content

Commit e58a4d3

Browse files
authored
Merge pull request #5 from warpdotdev/release-please--branches--main--changes--next
release: 0.2.1
2 parents 2343963 + 35877f7 commit e58a4d3

File tree

6 files changed

+24
-6
lines changed

6 files changed

+24
-6
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.2.0"
2+
".": "0.2.1"
33
}

CHANGELOG.md

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

3+
## 0.2.1 (2025-12-19)
4+
5+
Full Changelog: [v0.2.0...v0.2.1](https://github.com/warpdotdev/warp-sdk-python/compare/v0.2.0...v0.2.1)
6+
7+
### Bug Fixes
8+
9+
* use async_to_httpx_files in patch method ([c02afdb](https://github.com/warpdotdev/warp-sdk-python/commit/c02afdbec958df84a3e1ec73e213e683c79b04e8))
10+
11+
12+
### Chores
13+
14+
* **internal:** add `--fix` argument to lint script ([46a9b4b](https://github.com/warpdotdev/warp-sdk-python/commit/46a9b4bdceac62a8939f66b0227943d18db5393f))
15+
316
## 0.2.0 (2025-12-17)
417

518
Full Changelog: [v0.1.1...v0.2.0](https://github.com/warpdotdev/warp-sdk-python/compare/v0.1.1...v0.2.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "warp-agent-sdk"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "The official Python library for the warp-api API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

scripts/lint

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ set -e
44

55
cd "$(dirname "$0")/.."
66

7-
echo "==> Running ruff"
8-
uv run ruff check .
7+
if [ "$1" = "--fix" ]; then
8+
echo "==> Running ruff with --fix"
9+
uv run ruff check . --fix
10+
else
11+
echo "==> Running ruff"
12+
uv run ruff check .
13+
fi
914

1015
echo "==> Running pyright"
1116
uv run pyright

src/warp_agent_sdk/_base_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ async def patch(
17741774
options: RequestOptions = {},
17751775
) -> ResponseT:
17761776
opts = FinalRequestOptions.construct(
1777-
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1777+
method="patch", url=path, json_data=body, files=await async_to_httpx_files(files), **options
17781778
)
17791779
return await self.request(cast_to, opts)
17801780

src/warp_agent_sdk/_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__ = "warp_agent_sdk"
4-
__version__ = "0.2.0" # x-release-please-version
4+
__version__ = "0.2.1" # x-release-please-version

0 commit comments

Comments
 (0)