You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/04 04:43:15 UTC

[GitHub] [airflow] Bowrna commented on a diff in pull request #22695: Fix Breeze2 autocomplete

Bowrna commented on code in PR #22695:
URL: https://github.com/apache/airflow/pull/22695#discussion_r841361924


##########
dev/breeze/src/airflow_breeze/utils/run_utils.py:
##########
@@ -102,6 +99,9 @@ def check_package_installed(package_name: str) -> bool:
 
 
 def get_filesystem_type(filepath):
+    # We import it locally so that click autocomplete works
+    import psutil

Review Comment:
   Could you explain this part to me @potiuk? Why do we have to import locally for autocomplete to work?



-- 
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: dev-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org