GitHub user potiuk added a comment to the discussion: XCom backend confusion 
for Operator Extra Links

>  Although it is only meant to use DB backend, TaskInstance doesn't expose a 
> public method to set xcom to db directly. 
> https://github.com/apache/airflow/blob/main/task-sdk/src/airflow/sdk/execution_time/task_runner.py#L658.
>  This forces us to use direct call to BaseXCom which is inconvenient.

cc: @kaxil @amoghrajesh -> I think that is an important point - was it a 
deliberate choice and is there a way to save to DB directly from task instance ?

GitHub link: 
https://github.com/apache/airflow/discussions/59914#discussioncomment-15554323

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to