lol
This commit is contained in:
@@ -257,7 +257,9 @@ class AsyncConnection(
|
||||
AsyncEngine._retrieve_proxy_for_target(target.engine), target
|
||||
)
|
||||
|
||||
async def start(self, is_ctxmanager: bool = False) -> AsyncConnection:
|
||||
async def start(
|
||||
self, is_ctxmanager: bool = False # noqa: U100
|
||||
) -> AsyncConnection:
|
||||
"""Start this :class:`_asyncio.AsyncConnection` object's context
|
||||
outside of using a Python ``with:`` block.
|
||||
|
||||
@@ -1442,7 +1444,9 @@ def _get_sync_engine_or_connection(
|
||||
|
||||
|
||||
@inspection._inspects(AsyncConnection)
|
||||
def _no_insp_for_async_conn_yet(subject: AsyncConnection) -> NoReturn:
|
||||
def _no_insp_for_async_conn_yet(
|
||||
subject: AsyncConnection, # noqa: U100
|
||||
) -> NoReturn:
|
||||
raise exc.NoInspectionAvailable(
|
||||
"Inspection on an AsyncConnection is currently not supported. "
|
||||
"Please use ``run_sync`` to pass a callable where it's possible "
|
||||
@@ -1452,7 +1456,9 @@ def _no_insp_for_async_conn_yet(subject: AsyncConnection) -> NoReturn:
|
||||
|
||||
|
||||
@inspection._inspects(AsyncEngine)
|
||||
def _no_insp_for_async_engine_xyet(subject: AsyncEngine) -> NoReturn:
|
||||
def _no_insp_for_async_engine_xyet(
|
||||
subject: AsyncEngine, # noqa: U100
|
||||
) -> NoReturn:
|
||||
raise exc.NoInspectionAvailable(
|
||||
"Inspection on an AsyncEngine is currently not supported. "
|
||||
"Please obtain a connection then use ``conn.run_sync`` to pass a "
|
||||
|
||||
Reference in New Issue
Block a user