mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-31 22:23:12 +08:00
9 lines
240 B
Python
9 lines
240 B
Python
import mysql.connector
|
|
|
|
from ...utils.deprecation import deprecated
|
|
|
|
|
|
@deprecated(message='Use patching instead (see the docs).', version='1.0.0')
|
|
def get_traced_mysql_connection(*args, **kwargs):
|
|
return mysql.connector.MySQLConnection
|