potiuk commented on PR #41039: URL: https://github.com/apache/airflow/pull/41039#issuecomment-2268352156
> One question, why can we not always provide the context when possible? Does this have a negative effect when the context is not needed? I think it's a bit safer approach this way. It could be, for example that we miss some context serialization "glitch" that will make serialization to crash. Or maybe a future version of Airflow will add a bug there, or maybe someones python code already created "MockPython" object and the script will fail to parse (not very likely but I've seen stranger things in Airflow's vast user base). Python operators are used for various things and I think any change in their scripts should be made in a very "safe" way. -- 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-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org