Add SyncResponse.close

This commit is contained in:
Tom Christie 2019-04-23 11:52:41 +01:00
parent c9b9ea07b6
commit 03080623f0

View File

@ -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):