vatsrahul1001 opened a new issue, #49046: URL: https://github.com/apache/airflow/issues/49046
### Apache Airflow version 3.0.0 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? example_dag_decorator dag is failing with below error ``` [2025-04-10, 09:55:33] ERROR - Task failed with exception: source="task" TypeError: Invalid type for url. Expected str or httpx.URL, got <class 'airflow.sdk.definitions.param.DagParam'>: <airflow.sdk.definitions.param.DagParam object at 0xffff68267760> File "/opt/airflow/task-sdk/src/airflow/sdk/execution_time/task_runner.py", line 775 in run File "/opt/airflow/task-sdk/src/airflow/sdk/execution_time/task_runner.py", line 1038 in _execute_task File "/opt/airflow/task-sdk/src/airflow/sdk/bases/operator.py", line 409 in wrapper File "/opt/airflow/airflow-core/src/airflow/example_dags/example_dag_decorator.py", line 41 in execute File "/usr/local/lib/python3.9/site-packages/httpx/_api.py", line 198 in get File "/usr/local/lib/python3.9/site-packages/httpx/_api.py", line 106 in request File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 814 in request File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 345 in build_request File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 375 in _merge_url File "/usr/local/lib/python3.9/site-packages/httpx/_urls.py", line 11[9](http://localhost:28080/dags/example_dag_decorator/runs/manual__2025-04-10T09:55:31.872693+00:00/tasks/get_ip?try_number=1#9) in __init__ ``` ### What you think should happen instead? _No response_ ### How to reproduce 1. Run `breeze start-airflow --executor CeleryExecutor --backend postgres --load-example-dags` 2. Execute example_dag_decorator ### Operating System linux ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### 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]
