This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch potiuk-patch-1 in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 6d27f069fef39db005975a77e500337700693141 Author: Jarek Potiuk <[email protected]> AuthorDate: Sat Jul 31 12:19:01 2021 +0200 Update best-practices.rst --- docs/apache-airflow/best-practices.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/apache-airflow/best-practices.rst b/docs/apache-airflow/best-practices.rst index cb40f4c..79460b2 100644 --- a/docs/apache-airflow/best-practices.rst +++ b/docs/apache-airflow/best-practices.rst @@ -62,7 +62,9 @@ Some of the ways you can avoid producing a different result - .. tip:: You should define repetitive parameters such as ``connection_id`` or S3 paths in ``default_args`` rather than declaring them for each task. - The ``default_args`` help to avoid mistakes such as typographical errors. + The ``default_args`` help to avoid mistakes such as typographical errors. Also, most connection types have unique parameter names in + tasks, so you can declare a connection only once in ``default_args`` (for example ``gcp_conn_id``) and it is automatically + used by all operators that use this connection type. Deleting a task ----------------
