Skip to content
Myr

Add SyncResponse.close

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tom Christie · committed by Tom Christie · parent c9b9ea0 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:httpcore/sync.py+3 added
36 unmodified lines
37 yield asyncio_run(inner.__anext__())38 except StopAsyncIteration as exc:39 break4041 def close(self) -> None:42 return asyncio_run(self._response.close())434445class SyncClient:46 def __init__(self, client: Client):47 self._client = client48
42 unmodified lines