bugraoz93 commented on code in PR #65099:
URL: https://github.com/apache/airflow/pull/65099#discussion_r3074798971


##########
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:
   I use Linux, it saved webm, if it won't be visible here is mp4 :D The PR is 
called `Decouple airflowctl tests from branch dependency and add schema 
evolution with strict versioning` 
   
   
https://github.com/user-attachments/assets/93b277ee-1cc5-4b2f-a153-b413d511e1a4
   
   



-- 
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]

Reply via email to