From b60e3a9fb09a78384c9783b0ba677b98b3879216 Mon Sep 17 00:00:00 2001 From: Mochan <103326951+0xMochan@users.noreply.github.com> Date: Fri, 10 Nov 2023 17:06:34 -0500 Subject: [PATCH] fix: critical fix that amends `__exit__` and `__aexit__` (#49) --- subgrounds/client/async_.py | 1 - subgrounds/client/sync.py | 1 - 2 files changed, 2 deletions(-) diff --git a/subgrounds/client/async_.py b/subgrounds/client/async_.py index 48f4477..dbf787b 100644 --- a/subgrounds/client/async_.py +++ b/subgrounds/client/async_.py @@ -231,4 +231,3 @@ async def __aenter__(self): async def __aexit__(self, *args): await self._client.__aexit__(*args) - return self diff --git a/subgrounds/client/sync.py b/subgrounds/client/sync.py index 2dad57c..a1226f6 100644 --- a/subgrounds/client/sync.py +++ b/subgrounds/client/sync.py @@ -449,4 +449,3 @@ def __enter__(self): def __exit__(self, *args): self._client.__exit__(*args) - return self