Skip to content

Commit af8d708

Browse files
fix: use async_to_httpx_files in patch method
1 parent 9e23e57 commit af8d708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitpod/_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

0 commit comments

Comments
 (0)