You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/19 08:00:15 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #25711: changing to task decorator in docs from classic operator use

uranusjr commented on code in PR #25711:
URL: https://github.com/apache/airflow/pull/25711#discussion_r949911790


##########
docs/apache-airflow/concepts/operators.rst:
##########
@@ -103,6 +103,8 @@ You can also use Jinja templating with nested fields, as long as these nested fi
         dag=dag,
     )
 
+    t = transform_data([MyDataReader("/tmp/{{ ds }}/my_file")])

Review Comment:
   Should this replace the PythonOperator above instead?



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org