diff --git a/instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi/__init__.py b/instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi/__init__.py index 6a85430ad5..02ccfb890b 100644 --- a/instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi/__init__.py @@ -436,7 +436,7 @@ def cursor(self, *args, **kwargs): wrapped_cursor, db_api_integration ) - def is_mysql_connector_cursor_prepared(self, cursor): + def is_mysql_connector_cursor_prepared(self, cursor): # pylint: disable=no-self-use try: from mysql.connector.cursor_cext import ( # pylint: disable=import-outside-toplevel CMySQLCursorPrepared,