MCPcopy Create free account
hub / github.com/ccxt/ccxt / __aenter__

Method __aenter__

python/ccxt/async_support/base/exchange.py:111–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109
110 if sys.version_info >= (3, 5):
111 async def __aenter__(self):
112 self.open()
113 return self
114
115 async def __aexit__(self, exc_type, exc, tb):
116 await self.close()

Callers 1

create_connectionMethod · 0.80

Calls 1

openMethod · 0.95

Tested by

no test coverage detected