Return get_new_connection

Oops. It helps to have the resulting connection.
This commit is contained in:
tcely authored and GitHub committed 2024-12-11 16:30:48 -05:00
1 parent ebf1ed3ef4
commit de52e55e34
1 file changed
+1 -1
+1 -1
View File
@@ -30,6 +30,6 @@ class DatabaseWrapper(base.DatabaseWrapper):
filtered_params = conn_params.copy()
filtered_params["isolation_level"] = filtered_params.pop("transaction_mode", "DEFERRED")
_ = filtered_params.pop("init_command", None)
super().get_new_connection(filtered_params)
return super().get_new_connection(filtered_params)