kaxil commented on PR #50725:
URL: https://github.com/apache/airflow/pull/50725#issuecomment-2891300011
Oh looks like test didn't run on this on and v3-0-test is failing as it was
a bad cherry-pick:
```
E SyntaxError: invalid syntax
_ ERROR at setup of
TestFastApiSecurity.test_is_safe_url[/some_other_page/-False] _
[gw3] linux -- Python 3.9.22 /usr/local/bin/python3
airflow-core/tests/unit/api_fastapi/core_api/test_security.py:45: in
setup_class
create_app()
airflow-core/src/airflow/utils/providers_configuration_loader.py:55: in
wrapped_function
return func(*args, **kwargs)
airflow-core/src/airflow/api_fastapi/app.py:96: in create_app
init_views(app) # Core views need to be the last routes added - it has
a catch all route
airflow-core/src/airflow/api_fastapi/core_api/app.py:42: in init_views
from airflow.api_fastapi.core_api.routes.public import public_router
airflow-core/src/airflow/api_fastapi/core_api/routes/public/__init__.py:47:
in <module>
from airflow.api_fastapi.core_api.routes.public.task_instances import
task_instances_router
E File
"/opt/airflow/airflow-core/src/airflow/api_fastapi/core_api/routes/public/task_instances.py",
line 749
E else:
E ^
E SyntaxError: invalid syntax
```
--
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]