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/04/28 09:00:47 UTC

[GitHub] [airflow] Robstaa edited a comment on issue #15547: Jinja templating throws bug when using a PostgresOperator within the Taskflow API

Robstaa edited a comment on issue #15547:
URL: https://github.com/apache/airflow/issues/15547#issuecomment-828281996


   In my orignial codebase (not the example to reproduce it) one TaskFlow is returning a list of dictionaries. I am giving this list to another Taskflow (the one with the PostgresOperator). This task is looping over each dictionary, manipulating it, and giving it to the PostgresOperator to save it in the database.
   
   I am quite new to Airflow, do you have a better approach? But from what I take from your answer, using an Operator within a Taskflow is not considered best practice. 


-- 
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:
users@infra.apache.org