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 2021/09/20 23:31:47 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #18396: Fixing typo in PythonOperator example dag

kaxil commented on a change in pull request #18396:
URL: https://github.com/apache/airflow/pull/18396#discussion_r712588884



##########
File path: airflow/example_dags/example_python_operator.py
##########
@@ -34,7 +34,7 @@
     # [START howto_operator_python]
     def print_context(ds, **kwargs):
         """Print the Airflow context and ds variable from the context."""
-        pprint(kwargs)
+        print(kwargs)

Review comment:
       `pprint` is correct, check the import line on L22
   
   https://github.com/apache/airflow/blob/463ed82255403cd5663160140c44987d61e893a3/airflow/example_dags/example_python_operator.py#L22




-- 
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