Skip to content

Commit 480473a

Browse files
committed
Fix deprecation warning
1 parent 1201f44 commit 480473a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

duckdb_engine/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def dbapi():
6161
return DBAPI
6262

6363
def create_connect_args(self, u):
64-
return (), {"database": u.__to_string__(hide_password=False).split("///")[1]}
64+
return (), {"database": u.render_as_string(hide_password=False).split("///")[1]}
6565

6666
def initialize(self, connection):
6767
pass

0 commit comments

Comments
 (0)