roykoand commented on code in PR #73088:
URL: https://github.com/apache/airflow/pull/73088#discussion_r4000037955
##########
airflow-core/docs/faq.rst:
##########
@@ -812,15 +812,15 @@ How can I test a connection or use a Canary Dag?
------------------------------------------------
For security reasons, the test connection functionality is disabled by default
across the Airflow UI,
-API and CLI. This can be modified by setting
ref:`config:core__test_connection`.
+API and CLI. This can be modified by setting
:ref:`config:core__test_connection`.
You can utilize a Dag to regularly test connections. This is referred to as a
"Canary Dag" and can detect and
alert on failures in external systems that your Dags depend on. You can create
a simple Dag that tests connections
such as the following Airflow 3 example:
.. code-block:: python
- from airflow import DAG
+ from airflow.sdk import DAG
from airflow.sdk import task
Review Comment:
```suggestion
from airflow.sdk import DAG, task
```
--
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]