dstandish commented on PR #27565: URL: https://github.com/apache/airflow/pull/27565#issuecomment-1309864122
> When we have min airflow 2.4 version for provider we would be able to use the dedicated warn class > > https://github.com/apache/airflow/blob/21063267fd9764b2ca38669e8faec75d9b87179c/airflow/exceptions.py#L351 I explored using that class but failed to do so. How are you supposed to use it? You can't pass a warning instance to warnings.warn, and it did not seem desirable to make a subclass for all version combinations. -- 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]
