Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades

This commit is contained in:
Joe Schr
2024-06-19 20:38:50 +02:00
65 changed files with 1276 additions and 824 deletions

View File

@@ -271,7 +271,7 @@ class Exchange:
def close(self):
logger.debug("Exchange object destroyed, closing async loop")
if (
self._api_async
getattr(self, "_api_async", None)
and inspect.iscoroutinefunction(self._api_async.close)
and self._api_async.session
):