2525
2626
2727class AsyncCursorContextManagerWrapper (ObjectProxy ):
28-
28+
2929 __cursor_wrapper__ = DBAPI2AsyncCursorWrapper
3030
3131 def __init__ (self , context_manager , dbapi2_module , connect_params , cursor_args ):
@@ -39,7 +39,7 @@ async def __aenter__(self):
3939 return self .__cursor_wrapper__ (
4040 cursor , self ._nr_dbapi2_module , self ._nr_connect_params , self ._nr_cursor_args
4141 )
42-
42+
4343 async def __aexit__ (self , exc , val , tb ):
4444 return await self .__wrapped__ .__aexit__ (exc , val , tb )
4545
@@ -59,7 +59,7 @@ async def _wrap_pool__acquire(wrapped, instance, args, kwargs):
5959 rollup = ["Datastore/all" , f"Datastore/{ dbapi2_module ._nr_database_product } /all" ]
6060
6161 with FunctionTrace (name = callable_name (wrapped ), terminal = True , rollup = rollup , source = wrapped ):
62- connection = await wrapped (* args , ** kwargs )
62+ connection = await wrapped (* args , ** kwargs )
6363 connection_kwargs = getattr (instance , "_conn_kwargs" , {})
6464 return AsyncConnectionWrapper (connection , dbapi2_module , (((), connection_kwargs )))
6565
0 commit comments