Taragolis commented on code in PR #37585:
URL: https://github.com/apache/airflow/pull/37585#discussion_r1497282102


##########
airflow/utils/pydantic.py:
##########
@@ -24,19 +24,15 @@
 
 from __future__ import annotations
 
+from importlib.metadata import PackageNotFoundError, version

Review Comment:
   ```suggestion
   from importlib.metadata import version
   ```
   `PackageNotFoundError` is subclass of `ImportError`



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