potiuk commented on code in PR #31171: URL: https://github.com/apache/airflow/pull/31171#discussion_r1196188099
########## airflow/cli/commands/webserver_command.py: ########## @@ -40,6 +39,11 @@ from airflow.exceptions import AirflowException, AirflowWebServerTimeout from airflow.utils import cli as cli_utils from airflow.utils.cli import setup_locations, setup_logging + +try: + from airflow.utils.hashlib_wrapper import md5 +except ModuleNotFoundError: + from hashlib import md5 Review Comment: NIT: we do not need it here, try/except is only needed in providers. -- 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]
