Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.0.19"
".": "0.0.20"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 135
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-d630a456a08742e2e001020c1f73498daf2fd8a4ac859aaa114ada87ae488b27.yml
openapi_spec_hash: 6809082c313307da9f6d6231022d0049
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-c28f76de0001bfa87ee1b13b38528823b96c236b51d3706bc7fbe2ef22ed1c96.yml
openapi_spec_hash: 8476411081a6a94534139b21c3cf74b7
config_hash: c4e43bac321badafc3ba52b6c6c4e646
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 0.0.20 (2025-12-16)

Full Changelog: [v0.0.19...v0.0.20](https://github.com/whopio/whopsdk-python/compare/v0.0.19...v0.0.20)

### Features

* **api:** api update ([12958bf](https://github.com/whopio/whopsdk-python/commit/12958bfaaf8b08a2b771e565a0685ec547e44bd1))
* **api:** api update ([aaeaae1](https://github.com/whopio/whopsdk-python/commit/aaeaae1a7d432647d8d5526a871cfc6b155ba98e))
* **api:** api update ([8437c7f](https://github.com/whopio/whopsdk-python/commit/8437c7f2d06789e12bf9e2bb4c471f6444298dc2))


### Chores

* **internal:** add missing files argument to base client ([f921d8e](https://github.com/whopio/whopsdk-python/commit/f921d8e1ae2cde97af4c0146b8bb168348469d1a))
* speedup initial import ([d90ab37](https://github.com/whopio/whopsdk-python/commit/d90ab374ebd9ffd1b7b24295a08b31059f0741c6))

## 0.0.19 (2025-12-12)

Full Changelog: [v0.0.18...v0.0.19](https://github.com/whopio/whopsdk-python/compare/v0.0.18...v0.0.19)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "whop-sdk"
version = "0.0.19"
version = "0.0.20"
description = "The official Python library for the Whop API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
10 changes: 8 additions & 2 deletions src/whop_sdk/_base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1247,9 +1247,12 @@ def patch(
*,
cast_to: Type[ResponseT],
body: Body | None = None,
files: RequestFiles | None = None,
options: RequestOptions = {},
) -> ResponseT:
opts = FinalRequestOptions.construct(method="patch", url=path, json_data=body, **options)
opts = FinalRequestOptions.construct(
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
)
return self.request(cast_to, opts)

def put(
Expand Down Expand Up @@ -1767,9 +1770,12 @@ async def patch(
*,
cast_to: Type[ResponseT],
body: Body | None = None,
files: RequestFiles | None = None,
options: RequestOptions = {},
) -> ResponseT:
opts = FinalRequestOptions.construct(method="patch", url=path, json_data=body, **options)
opts = FinalRequestOptions.construct(
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
Comment thread
cnrstvns marked this conversation as resolved.
)
return await self.request(cast_to, opts)

async def put(
Expand Down
Loading