-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add motherduck support for duckdb plugin (#2680)
* add motherduck support for duckdb plugin * use secret group key and version * change secret name and run make fmt Signed-off-by: Daniel Sola <[email protected]> * change token name Signed-off-by: Daniel Sola <[email protected]> * generalize to other duckdb providers Signed-off-by: Daniel Sola <[email protected]> * refactor for secret_requests Signed-off-by: Daniel Sola <[email protected]> * add query to execution Signed-off-by: Daniel Sola <[email protected]> * add query to execution pt 2 Signed-off-by: Daniel Sola <[email protected]> * add query to execution pt 3 Signed-off-by: Daniel Sola <[email protected]> * refactor for callable Signed-off-by: Daniel Sola <[email protected]> * add tests Signed-off-by: Daniel Sola <[email protected]> * add secret arg Signed-off-by: Daniel Sola <[email protected]> * assert secret length Signed-off-by: Daniel Sola <[email protected]> * move error message and add docstring Signed-off-by: Daniel Sola <[email protected]> * fix unit test Signed-off-by: Daniel Sola <[email protected]> * allow for no token to be passed Signed-off-by: Daniel Sola <[email protected]> --------- Signed-off-by: Daniel Sola <[email protected]>
- Loading branch information
Showing
3 changed files
with
114 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ | |
DuckDBQuery | ||
""" | ||
|
||
from .task import DuckDBQuery | ||
from .task import DuckDBProvider, DuckDBQuery |
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