Skip to content

Commit 77df10d

Browse files
fix: use async_to_httpx_files in patch method
1 parent 7774bec commit 77df10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama_stack_client/_base_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ async def patch(
17841784
options: RequestOptions = {},
17851785
) -> ResponseT:
17861786
opts = FinalRequestOptions.construct(
1787-
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1787+
method="patch", url=path, json_data=body, files=await async_to_httpx_files(files), **options
17881788
)
17891789
return await self.request(cast_to, opts)
17901790

0 commit comments

Comments
 (0)