File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -404,8 +404,8 @@ def __init__(
404404 connection : ConnectionT ,
405405 db_api_integration : DatabaseApiIntegration | None = None ,
406406 ):
407- self .db_api_integration = db_api_integration
408407 wrapt .ObjectProxy .__init__ (self , connection )
408+ self .db_api_integration = db_api_integration
409409
410410 def __getattribute__ (self , name : str ):
411411 if object .__getattribute__ (self , name ):
@@ -568,8 +568,8 @@ def __init__(
568568 cursor : CursorT ,
569569 db_api_integration : DatabaseApiIntegration ,
570570 ):
571- self ._cursor_tracer = CursorTracer [CursorT ](db_api_integration )
572571 wrapt .ObjectProxy .__init__ (self , cursor )
572+ self ._cursor_tracer = CursorTracer [CursorT ](db_api_integration )
573573
574574 def execute (self , * args : Any , ** kwargs : Any ):
575575 return self ._cursor_tracer .traced_execution (
You can’t perform that action at this time.
0 commit comments