-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LocalExecutor - Unable to make custom plugin works #443
Comments
EDIT : I added the compose file without touching anything else and I also have the same issue. So I don't know where this come from but it's hard to me to belive that there is not something wrong with the docker image. |
I had a lot of issues getting plugins to work recently. The directory structure that did the trick was:
Empty
And for importing in a DAG,
Current version of Airflow should warn if you try to import from
|
Wanted to learn airflow and using it through docker.
I used the LocalExecutor compose file with uncommented volume for the plugin folder.
Here my project structure :
I try then to follow the official documentation but I cannot import my custom operator.
Here the content of my
custom_plugin.py
(I tried to put it in the init file too). I cannot import fromoperators
only without an error.And in my
/dags
folder I do :But I got an error from my IDE, if I try to run it I got this error:
It has been 2 days that I'm block here. I tried different solution found here and there but I cannot make it work. Any idea how to fix it ? Any exemple, even with a dummy operator ?
The text was updated successfully, but these errors were encountered: