GitHub user potiuk added a comment to the discussion: XCom Limitations and 
Immutable Operators in Airflow 3.x

I am not suggesting modifying context. I am suggesting you to override the 
operator with "Your operator" that will store the required data inside the 
operator class not the context

As you noticed - context is immutable and you should not modify it. Full stop. 

My suggestion is to modify the fields of the operator and modify it's behaviour 
based on those.

GitHub link: 
https://github.com/apache/airflow/discussions/54772#discussioncomment-14190620

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

Reply via email to