Replies: 4 suggested answers 1 reply
-
|
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
|
This is an intentional design at the current time. Is there a concrete reason why you need to use a custom key? |
Beta Was this translation helpful? Give feedback.
-
|
Converted it into discussion - because this is what it is (and also while waiting gor @qcha41 answers). |
Beta Was this translation helpful? Give feedback.
-
|
I have several Google Workflows executions I have some resources batch-transformed with it run_workflow = WorkflowsCreateExecutionOperator\
.partial(
task_id="run_workflow",
location=LOCATION,
project_id=PROJECT_ID,
workflow_id=WORKFLOW_ID,
)\
.expand(
execution={
"argument": {
"some_params": ["a", "b"],
# ...
"dependant_on_previous": XComArg(previous_task),
"pipeline_name": PIPELINE_NAME,
}
},
)
await_workflow_complete = WorkflowExecutionSensor\
.partial(
task_id="await_workflow_complete",
location=LOCATION,
project_id=PROJECT_ID,
workflow_id=WORKFLOW_ID,
)\
.expand(
execution_id=XComArg(run_workflow, 'execution_id'),
)I need several sensors, one per each workflow triggered, The Also, would this |
Beta Was this translation helpful? Give feedback.


{{editor}}'s edit
{{editor}}'s edit
-
Apache Airflow version
2.4.0
What happened
I am trying to use a custom XCOM key in task mapping, other than the default "return_value" key. This results in a ValueError :
What you think should happen instead
I don't understand this limitation.
How to reproduce
Operating System
Debian 11
Versions of Apache Airflow Providers
No response
Deployment
Virtualenv installation
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.