vandonr-amz commented on code in PR #33481:
URL: https://github.com/apache/airflow/pull/33481#discussion_r1303361993
##########
airflow/cli/cli_parser.py:
##########
@@ -62,6 +63,13 @@
# Do no re-raise the exception since we want the CLI to still function for
# other commands.
+try:
+ auth_mgr = get_auth_manager()
Review Comment:
taking a quick look, I put a timer at the top of `cli_parser.py` and another
one just after the test on duplicate subcommands (at the end of top level code).
Without this code we're at ~30ms
With, it's taking ~90ms
So this costs ~60ms.
--
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]