Replies: 2 comments 1 reply
-
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
Beta Was this translation helpful? Give feedback.
-
This is expected. Airflow worker does not have access to Airflow DB any more. You seem to want to use Airfow DB by the hook of yours - if you want to do it, you need to define the connection. Apparently you want to initialize airflow from within the jupyter notebook and for some reason the notebook strips |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Apache Airflow Provider(s)
papermill
Versions of Apache Airflow Providers
apache-airflow-providers-papermill==3.11.3
Apache Airflow version
3.0.6
Operating System
Debian GNU/Linux 12 (bookworm)
Deployment
Other Docker-based deployment
Deployment details
No response
What happened
I have a jupyter notebook that contains:
when executing this notebook with a PapermillOperator I get the following error:
What you think should happen instead
It should allow using dbhooks and airflow connection inside a jupyter notebook.
How to reproduce
Create a notebook with only:
and execute it with PapermillOperator
Other hooks like MsSqlHook also fails.
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions