[issue35272] sqlite3 get the connected database url
Berker Peksag
report at bugs.python.org
Sun Nov 18 09:09:32 EST 2018
Berker Peksag <berker.peksag at gmail.com> added the comment:
Just to be sure, what do you want to do is
import sqlite3
conn = sqlite3.connect("foo.db")
assert conn.database_path == "foo.db"
right?
I don't think that's something worth to expose in the Connection object. What's your use case?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35272>
_______________________________________
More information about the Python-bugs-list
mailing list