Skip to content

Commit

Permalink
Add docstring for instrument_connection for mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
beijiez committed Dec 13, 2024
1 parent 2ab903a commit 4369a05
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
cursor.execute("INSERT INTO test (testField) VALUES (123)")
cursor.close()
cnx.close()
cnx = MySQLInstrumentor().instrument_connection(cnx)
cursor = cnx.cursor()
cursor.execute("INSERT INTO test (testField) VALUES (123)")
cursor.close()
cnx.close()
API
---
Expand Down

0 comments on commit 4369a05

Please sign in to comment.