ashb commented on issue #13823:
URL: https://github.com/apache/airflow/issues/13823#issuecomment-809440801


   Fixing this properly so it actually does what you want (set the dep between 
tasks _and_ passes the value in the parameter is more than a bug fix, so I'm 
pushing this to 2.1.
   
   In the mean time, the way to specify the dependencies is this:
   
   ```python
   
       some_str = some_py_task()
   
       some_pg_task = PostgresOperator(task_id='some_pg_task', 
                        sql='select * from %s',
                        parameters=[some_str],
                        postgres_conn_id='postgres_bob')
   
       some_str >> some_pg_task
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to