Leondon9 commented on issue #77344:
URL: https://github.com/apache/airflow/issues/77344#issuecomment-7093465368

   Tested #68247 on apache-airflow-ctl 0.1.6rc1 against an 
`apache/airflow:3.4.0` API server, compared with 0.1.5. Works as expected.
   
   - `variables import` with `{"value": ..., "description": ...}` entries whose 
value is `""`, `0`, `false` or `null`: all imported, with their descriptions 
kept.
   - A file whose top-level JSON is a list or a string: 0.1.6rc1 prints 
`Invalid variable file: <path>` and exits 1. 0.1.5 crashed with 
`AttributeError: 'list' object has no attribute 'items'`.
   - Invalid JSON and a missing file still exit 1 with a readable message.
   
   ---
   Drafted-by: Claude Code (Opus 5.5); reviewed by @Leondon9 before posting


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