Jay Chung

Results 177 comments of Jay Chung

@bryan3189 I use DAG to hold and create/overwrite connection. I will get a example tomorrow because code in my company computer. If I forget you could just remind after 24...

@bryan3189 I have to file, one is `conf` file named `conf.py`, another is `DAG` file named `init_conn_var.py` conf.py ```py var = { 'connections': [ { 'conn_id': 'ssh_my_own_1', 'conn_type': 'ssh', 'host':...

@bryan3189 You are welcome.

@pratikhonrao Maybe you should change you `import` statement to ```py from airflow.models.connection import Connection ```

@pratikhonrao Could you show the code you wrote? If with filename and file structure will be better.

@pratikhonrao FYI the reason `from airflow import Connection` not work it's that Airflow refactor **airflow.models** code and change it import path

@pratikhonrao I am sorry, I just write some demo code, my env script is more complex. But maybe we could still make it work. In `init_conn_var.py` we should change ```py...

@pratikhonrao I think maybe it due use wrong dict key ```py for connection in var.get('connections'): # know that key "connections" should same as you define in init_conn_var.py ``` you should...

@pratikhonrao Yup, I think if we create connection in dag and configure file, just like `init_conn_var.py`, and the configure should keep it single-way to keep Airflow configure and DAG configure...

I think changelog could help project users more easier get the different between each version, Especially some of them already used in their produce but find some bug or feature...