Searched refs:AbstractAsyncContextManager (Results 1 – 7 of 7) sorted by relevance
2 from contextlib import asynccontextmanager, AbstractAsyncContextManager, AsyncExitStack29 class DefaultEnter(AbstractAsyncContextManager):40 class MissingAexit(AbstractAsyncContextManager):53 self.assertTrue(issubclass(ManagerFromScratch, AbstractAsyncContextManager))55 class DefaultEnter(AbstractAsyncContextManager):59 self.assertTrue(issubclass(DefaultEnter, AbstractAsyncContextManager))64 self.assertFalse(issubclass(NoneAenter, AbstractAsyncContextManager))69 self.assertFalse(issubclass(NoneAexit, AbstractAsyncContextManager))
34 class AbstractAsyncContextManager(abc.ABC): class49 if cls is AbstractAsyncContextManager:165 AbstractAsyncContextManager):523 class AsyncExitStack(_BaseExitStack, AbstractAsyncContextManager):
1242 AsyncContextManager = _alias(contextlib.AbstractAsyncContextManager, T_co)
736 Add contextlib.AbstractAsyncContextManager. Patch by Jelle Zijlstra.
32 .. class:: AbstractAsyncContextManager
680 A generic version of :class:`contextlib.AbstractAsyncContextManager`.
828 :class:`~contextlib.AbstractAsyncContextManager`, and