You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/06 16:43:26 UTC
[GitHub] [airflow] xiaohuangji opened a new issue #20078: Airflow plugin doesn't respect SQLALCHEMY_BINDS
xiaohuangji opened a new issue #20078:
URL: https://github.com/apache/airflow/issues/20078
### Apache Airflow version
2.2.1
### What happened
I'm writing a plugin that needs to connect to a database and add a Modelview.
I have configured the SQLALCHEMY_BINDS in webserver_config.py and set `__bind_key__` in the model, but this model keeps connecting to `core SQLALCHEMY_DATABASE_URI ` instead of the external database.
### What you expected to happen
Models defined in plugins should respect `SQLALCHEMY_BINDS`
### How to reproduce
_No response_
### Operating System
Ubuntu
### Versions of Apache Airflow Providers
_No response_
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #20078: Airflow plugin doesn't respect SQLALCHEMY_BINDS
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #20078:
URL: https://github.com/apache/airflow/issues/20078
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #20078: Airflow plugin doesn't respect SQLALCHEMY_BINDS
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #20078:
URL: https://github.com/apache/airflow/issues/20078#issuecomment-986952207
Thanks for opening your first issue here! Be sure to follow the issue template!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #20078: Airflow plugin doesn't respect SQLALCHEMY_BINDS
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #20078:
URL: https://github.com/apache/airflow/issues/20078#issuecomment-987224098
I saw you already created a discussion for that. Since we do not know if this is an airflow problem or configuration on your side, I am closing this in favour of discussion. #20080
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org