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 2022/12/21 20:36:40 UTC
[GitHub] [airflow] potiuk commented on issue #28526: Not sure if bug? BashOperator within dynamic mapped airflow tasks not using specified pool
potiuk commented on issue #28526:
URL: https://github.com/apache/airflow/issues/28526#issuecomment-1362065465
This is very wrong use of operator. You are not supposed to create BashOperator from inside a task - task is already an operator and running BashOperator inside is just creating an object and running execute on it.
The BashOperator must be instantiated in the DAG parsing time to become a task - not during execution of the task method.
--
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