potiuk edited a comment on pull request #22613: URL: https://github.com/apache/airflow/pull/22613#issuecomment-1086867771
> I have opened [astronomer#1486](https://github.com/astronomer/airflow/pull/1486) that brings the performance in line with argparse by using local imports since top-level imports can be heavy when subcommands are registered. This is quite important indeed not ony for speed (though speed is tremendously important at autocomplete). I've learned how important it is in Breeze2 with autocompletion. I finally had to make sure that all the "extra" imports generated during parsing of the `breeze.py` file got locally imported, because when you are not in the virtualenv of airflow , you can simply fail with "cannot import this and that" instead of autocomplete results. See some of workarounds I needed to implement: https://github.com/apache/airflow/pull/22695 -- 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]
