-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use conn_name_attr for SqliteHook connection (#10156)
The DbApiHook allows for a conn_name_attr to be changed in subclasses, however SqliteHook's `get_conn` method is always calling the main class attribute. Find the correct attribute and use this to establish the connection. Allow attr setting outside init for test case Closes #10147
- Loading branch information
1 parent
dd2dec0
commit 4a0fdb6
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters