jackemuk opened a new issue #22473: URL: https://github.com/apache/airflow/issues/22473
### Apache Airflow version 2.2.4 (latest released) ### What happened Trying to export or import a yaml formatted connections file with ".yml" extension fails. ### What you think should happen instead While the "official recommended extension" for YAML files is .yaml, many pipeline are built around using the .yml file extension. Importing and exporting of .yml files should also be supported. ### How to reproduce Running airflow connections import or export with a file having a .yml file extension errors with: `Unsupported file format. The file must have the extension .env or .json or .yaml` ### Operating System debian 10 buster ### Versions of Apache Airflow Providers _No response_ ### Deployment Docker-Compose ### Deployment details _No response_ ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
