File tree Expand file tree Collapse file tree
instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi Expand file tree Collapse file tree Original file line number Diff line number Diff line change 216216CursorT = TypeVar ("CursorT" )
217217
218218
219- def trace_integration (
219+ def trace_integration ( # pylint: disable=too-many-positional-arguments
220220 connect_module : Callable [..., Any ],
221221 connect_method_name : str ,
222222 database_system : str ,
@@ -253,7 +253,7 @@ def trace_integration(
253253 connect_module ,
254254 connect_method_name ,
255255 database_system ,
256- connection_attributes ,
256+ connection_attributes = connection_attributes ,
257257 version = __version__ ,
258258 tracer_provider = tracer_provider ,
259259 capture_parameters = capture_parameters ,
@@ -265,7 +265,7 @@ def trace_integration(
265265 )
266266
267267
268- def wrap_connect (
268+ def wrap_connect ( # pylint: disable=too-many-positional-arguments
269269 name : str ,
270270 connect_module : Callable [..., Any ],
271271 connect_method_name : str ,
@@ -430,7 +430,7 @@ def uninstrument_connection(
430430
431431
432432class DatabaseApiIntegration :
433- def __init__ (
433+ def __init__ ( # pylint: disable=too-many-positional-arguments
434434 self ,
435435 name : str ,
436436 database_system : str ,
You can’t perform that action at this time.
0 commit comments