dabla commented on PR #37937: URL: https://github.com/apache/airflow/pull/37937#issuecomment-1980845822
> Is it possible (desirable?) to raise an error when the operator is instantiated, instead of when `execute` is called? I've tried that at first as that was also my first idea, but then the decorator will already be applied (or not) on instantiation instead of when calling the executed method, which then makes it impossible to test because it's to late as I modify the unit_test_mode env var before each run of the test. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
