bugraoz93 commented on code in PR #65099:
URL: https://github.com/apache/airflow/pull/65099#discussion_r3074757918
##########
airflow-ctl/src/airflowctl/api/client.py:
##########
@@ -294,8 +294,9 @@ def load(self) -> Credentials:
raise AirflowCtlKeyringException("Keyring backend
is not available") from e
self.api_token = None
except FileNotFoundError:
- # This is expected during the auth login command
- if self.client_kind != ClientKind.AUTH:
+ # This is expected during the auth login command.
+ # Also allow token-only usage without local config (for commands
like `version --remote`).
+ if self.client_kind != ClientKind.AUTH and self.api_token is None:
Review Comment:
This is so strange is the ids are duplicates :confused:
https://github.com/apache/airflow/pull/61822. This PR is showing me
different my PR while when I click your link it shows Jareks :thinking:
--
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]