Skip to content

Commit 03a2bac

Browse files
Jayko001claude
andcommitted
await raw.parse() in async variant
AsyncAPIResponse.parse() is itself async; without await we constructed Acquired with a coroutine instead of the parsed model. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 18829ec commit 03a2bac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/kernel/lib/browser_pools/acquire.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ async def acquire_async(
9595
return PoolNotFound()
9696
if raw.http_response.status_code == 204:
9797
return TimedOut()
98-
return Acquired(browser=raw.parse())
98+
return Acquired(browser=await raw.parse())

0 commit comments

Comments
 (0)