JDarDagran commented on PR #39530:
URL: https://github.com/apache/airflow/pull/39530#issuecomment-2145670785

   I've added weird-looking:
   ```python
   if TYPE_CHECKING:
       # v2 imports
   else:
      try:
          # v2 imports
      except ImportError:
          # v1 imports
   ```
   
   This satisfies mypy and works with previous OL provider versions.
   I'll be adding backwards-compatibility cross-provider checks in separate PR 
soon.


-- 
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]

Reply via email to