How to use the aiosqlite.context.ContextManager function in aiosqlite

To help you get started, we’ve selected a few aiosqlite examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jreese / aiosqlite / aiosqlite / context.py View on Github external
def wrapper(self, *args, **kwargs) -> ContextManager:
        return ContextManager(method(self, *args, **kwargs))

aiosqlite

asyncio bridge to the standard sqlite3 module

MIT
Latest version published 10 months ago

Package Health Score

90 / 100
Full package analysis

Similar packages