-
Apache Airflow version3.1.6 (latest) Deploymentdocker compose from apache-airflow/3.1.6/docker-compose.yaml Deployment details Database: Postgres The problemtl;dr: HITLOperator shows all params, even from DAG-level ones in Airflow UI in Required Action panel, while only operator's params are desired. Hi everyone, I would like to ask you for help, as I am a bit desperate. I would like to declare a HTIL operator (e.g. an Approval one or Entry one) that in the Requested Action would show only chosen set of new parameters from the operator level only. Here's my example declaration: While running this DAG, I declare other parameters that I would like the actor to fill-out during the run declaration, thus, I have multiple parameters provided in @dag decorator: While the task is running, instead of showing only the Approval note, just like indicated in any tutorial for HITL or documentation, it instead shows whole form with every section from DAG-level: How can I prevent this? The imported ApprovalOperator inherits from HITLOperator and actually does have method that should clear the parameters in its constructor: The comment clearly states that my reasoning is the expected behaviour, but it simply does not do the job. What am I missing? Maybe it is a bug that I have managed somehow to reproduce. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This code you quoted has been added in #58615 and this is scheduled to be released in 3.2.0 (see the milestone) - so what you see is expected in 3.1.x |
Beta Was this translation helpful? Give feedback.

This code you quoted has been added in #58615 and this is scheduled to be released in 3.2.0 (see the milestone) - so what you see is expected in 3.1.x