title: What parameters can be passed to Airflow @task decorator?
body: <p>I am using Airflow 2.4.0.</p>
  <pre><code>from airflow.decorators import task
  from airflow import DAG
  
  with DAG(
          &quot;hello_world&quot;,
          start_date=datetime(2022, 1, 1),
          schedule_interval=&quot;@daily&quot;,
          catchup=False,
  ) as dag:
      @task()
      def get_name():
          return {
              'first_name': 'Hongbo',
              'last_name': 'Miao',
          }
  
      get_name()
  </code></pre>
  <p>Currently I am using <code>@task()</code>. Based on the document <a href="https://airflow.apache.org/docs/apache-airflow/stable/tutorial/taskflow.html" rel="nofollow noreferrer">https://airflow.apache.org/docs/apache-airflow/stable/tutorial/taskflow.html</a>, it seems I can also use</p>
  <pre><code>@task(multiple_outputs=True)
  @task(retries=3)
  @task(task_id=&quot;get_name&quot;)
  </code></pre>
  <p>However, it does not include the explanation.</p>
  <p>When I use <code>multiple_outputs=True</code> or <code>multiple_outputs=False</code>, or not it, the task still runs well. So I am wondering what is the purposes of it.</p>
  <p>Is there a document listing all parameters for <code>@task</code> decorator that I can use and their actual functions? Thanks!</p>