josix commented on issue #43354: URL: https://github.com/apache/airflow/issues/43354#issuecomment-2437322034
In this example, I believe the correct syntax should be `@task.skip_if(condition=lambda context: True)` to skip the task. The virtualenv operator will skip successfully if the condition returns True. However, I think the virtualenv operator shouldn't depend on the `task` module - cmiiw. I'll investigate this further. -- 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]
