Add SyncResponse.close
This commit is contained in:
parent
c9b9ea07b6
commit
03080623f0
@ -38,6 +38,9 @@ class SyncResponse:
|
||||
except StopAsyncIteration as exc:
|
||||
break
|
||||
|
||||
def close(self) -> None:
|
||||
return asyncio_run(self._response.close())
|
||||
|
||||
|
||||
class SyncClient:
|
||||
def __init__(self, client: Client):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user