Skip to content

Commit 25a4f49

Browse files
fix: use async_to_httpx_files in patch method
1 parent 770853a commit 25a4f49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/orb/_base_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,7 @@ async def patch(
18031803
options: RequestOptions = {},
18041804
) -> ResponseT:
18051805
opts = FinalRequestOptions.construct(
1806-
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1806+
method="patch", url=path, json_data=body, files=await async_to_httpx_files(files), **options
18071807
)
18081808
return await self.request(cast_to, opts)
18091809

0 commit comments

Comments
 (0)