-
Notifications
You must be signed in to change notification settings - Fork 468
Closed
Description
Thanks for taking the time for reporting an issue!
Before reporting an issue on dd-trace-py, please be sure to provide all
necessary information.
If you're hitting a bug, make sure that you're using the latest version of this
library.
Which version of dd-trace-py are you using?
1.5.0
Which version of pip are you using?
21.1.1
ddtrace requires pip>=18 to install one of our pre-built wheels
Which version of the libraries are you using?
You can copy/paste the output of pip freeze here.
ddtrace==1.5.0
How can we reproduce your problem?
from ddtrace import config, patch_all
import sqlite3
config.env = "test" # the environment the application is in
config.service = "app" # name of your application
config.version = "v1" # version of your application
patch_all()
src = sqlite3.connect("1.db")
dst = sqlite3.connect("2.db")
with dst:
src.backup(dst, pages=1)
dst.close()
src.close()
What is the result that you get?
The following TypeError
TypeError: backup() argument 1 must be sqlite3.Connection, not TracedSQLite
What is the result that you expected?
The function should succeed without error.
Metadata
Metadata
Assignees
Labels
No labels