Skip to content

Commit 7c6cc08

Browse files
release: 0.0.20 (#24)
* feat(api): api update * chore(internal): add missing files argument to base client * feat(api): api update * chore: speedup initial import * feat(api): api update * release: 0.0.20 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 3015040 commit 7c6cc08

14 files changed

Lines changed: 1684 additions & 411 deletions

.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.0.19"
2+
".": "0.0.20"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 135
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-d630a456a08742e2e001020c1f73498daf2fd8a4ac859aaa114ada87ae488b27.yml
3-
openapi_spec_hash: 6809082c313307da9f6d6231022d0049
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-c28f76de0001bfa87ee1b13b38528823b96c236b51d3706bc7fbe2ef22ed1c96.yml
3+
openapi_spec_hash: 8476411081a6a94534139b21c3cf74b7
44
config_hash: c4e43bac321badafc3ba52b6c6c4e646

CHANGELOG.md

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

3+
## 0.0.20 (2025-12-16)
4+
5+
Full Changelog: [v0.0.19...v0.0.20](https://github.com/whopio/whopsdk-python/compare/v0.0.19...v0.0.20)
6+
7+
### Features
8+
9+
* **api:** api update ([12958bf](https://github.com/whopio/whopsdk-python/commit/12958bfaaf8b08a2b771e565a0685ec547e44bd1))
10+
* **api:** api update ([aaeaae1](https://github.com/whopio/whopsdk-python/commit/aaeaae1a7d432647d8d5526a871cfc6b155ba98e))
11+
* **api:** api update ([8437c7f](https://github.com/whopio/whopsdk-python/commit/8437c7f2d06789e12bf9e2bb4c471f6444298dc2))
12+
13+
14+
### Chores
15+
16+
* **internal:** add missing files argument to base client ([f921d8e](https://github.com/whopio/whopsdk-python/commit/f921d8e1ae2cde97af4c0146b8bb168348469d1a))
17+
* speedup initial import ([d90ab37](https://github.com/whopio/whopsdk-python/commit/d90ab374ebd9ffd1b7b24295a08b31059f0741c6))
18+
319
## 0.0.19 (2025-12-12)
420

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

pyproject.toml

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

src/whop_sdk/_base_client.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,9 +1247,12 @@ def patch(
12471247
*,
12481248
cast_to: Type[ResponseT],
12491249
body: Body | None = None,
1250+
files: RequestFiles | None = None,
12501251
options: RequestOptions = {},
12511252
) -> ResponseT:
1252-
opts = FinalRequestOptions.construct(method="patch", url=path, json_data=body, **options)
1253+
opts = FinalRequestOptions.construct(
1254+
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1255+
)
12531256
return self.request(cast_to, opts)
12541257

12551258
def put(
@@ -1767,9 +1770,12 @@ async def patch(
17671770
*,
17681771
cast_to: Type[ResponseT],
17691772
body: Body | None = None,
1773+
files: RequestFiles | None = None,
17701774
options: RequestOptions = {},
17711775
) -> ResponseT:
1772-
opts = FinalRequestOptions.construct(method="patch", url=path, json_data=body, **options)
1776+
opts = FinalRequestOptions.construct(
1777+
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1778+
)
17731779
return await self.request(cast_to, opts)
17741780

17751781
async def put(

0 commit comments

Comments
 (0)