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


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

Review Comment:
   nice. Yep. Better to handle more generic case (though I think it does not 
matter in this case - I doubt metadata.version will raise any other "Import 
Error" :) 



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