phi-friday opened a new issue, #41019: URL: https://github.com/apache/airflow/issues/41019
### Apache Airflow version 2.9.3 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened?  When I try to run `DAG`, it fails to get the default values, so I can't run `DAG`. ### What you think should happen instead? The `has_default_list` should default to an empty array. ### How to reproduce ```python from __future__ import annotations from airflow.decorators import dag from airflow.models.param import Param from airflow.operators.empty import EmptyOperator from pendulum import datetime @dag( start_date=datetime(2024, 1, 1), schedule=None, catchup=False, params={ "has_default_list": Param( default=[], items={"type": "string"}, title="Has default list", type="array" ) }, ) def render_test() -> None: EmptyOperator(task_id="empty_task") render_test() ``` ### Operating System PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy ### Versions of Apache Airflow Providers ```shell ➜ dags pip freeze | grep apache-airflow-providers apache-airflow-providers-celery==3.7.2 apache-airflow-providers-common-io==1.3.2 apache-airflow-providers-common-sql==1.14.2 apache-airflow-providers-docker==3.12.2 apache-airflow-providers-fab==1.1.1 apache-airflow-providers-ftp==3.10.0 apache-airflow-providers-http==4.12.0 apache-airflow-providers-imap==3.6.1 apache-airflow-providers-jdbc==4.3.1 apache-airflow-providers-odbc==4.6.2 apache-airflow-providers-postgres==5.11.2 apache-airflow-providers-redis==3.7.1 apache-airflow-providers-smtp==1.7.1 apache-airflow-providers-sqlite==3.8.1 ``` ### Deployment Docker-Compose ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] 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]
