Return get_new_connection

Oops. It helps to have the resulting connection.
This commit is contained in:
tcely 2024-12-11 16:30:48 -05:00 committed by GitHub
parent ebf1ed3ef4
commit de52e55e34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)