DuckDb Init Scripts #688
Answered
by
tconbeer
kevgliss
asked this question in
Q&A, Troubleshooting, Support
-
I'm trying to bootstrap a given harlequin environment using duckdb and init scripts. My init script looks like:
The above works fine, when entered in the query window after harlequin has already been loaded. But bootstraping via init doesn't seem to work. Any ideas? There are no errors afaict just no view. I'm passing the init via
|
Beta Was this translation helpful? Give feedback.
Answered by
tconbeer
Nov 9, 2024
Replies: 1 comment 2 replies
-
I think you need a semicolon between the last 2 statements? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're probably bumping into this issue: #408
Harlequin's cli options are built dynamically, and the python API probably doesn't work as you expect. If you don't need harlequin to parse the CLI options, you can just use the textual API directly (
app=Harlequin(**kwargs); app.run()
) inside your typer command