This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 9b832f6acd79ec1329ad235e65a7abd2be93a0eb
Author: Cai Parry-Jones <97813242+cai...@users.noreply.github.com>
AuthorDate: Mon Nov 20 22:02:59 2023 +0000

    More detail on mandatory task arguments (#35740)
    
    * More detail on mandatory task arguments
    
    Current documentation notes that the arguments 'task_id' and 'owner' are 
both mandatory. This might confuse new users to believe that both arguments 
require user input to avoid an error. But 'owner' has a default default_value, 
so this argument should be less of a concern for user task and dag creation. 
This commit aims to communicate that.
    
    * fix typo
    
    * Update fundamentals.rst
    
    ---------
    
    Co-authored-by: Jarek Potiuk <ja...@potiuk.com>
---
 docs/apache-airflow/tutorial/fundamentals.rst | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/docs/apache-airflow/tutorial/fundamentals.rst 
b/docs/apache-airflow/tutorial/fundamentals.rst
index 2c710530b2..e68205aca9 100644
--- a/docs/apache-airflow/tutorial/fundamentals.rst
+++ b/docs/apache-airflow/tutorial/fundamentals.rst
@@ -146,8 +146,11 @@ The precedence rules for a task are as follows:
 2.  Values that exist in the ``default_args`` dictionary
 3.  The operator's default value, if one exists
 
-A task must include or inherit the arguments ``task_id`` and ``owner``,
-otherwise Airflow will raise an exception.
+.. note::
+    A task must include or inherit the arguments ``task_id`` and ``owner``,
+    otherwise Airflow will raise an exception. A fresh install of Airflow will
+    have a default value of 'airflow' set for ``owner``, so you only really 
need
+    to worry about ensuring ``task_id`` has a value.
 
 Templating with Jinja
 ---------------------

Reply via email to