Update example_python_operator.py

This commit is contained in:
2022-01-07 21:44:06 +08:00
parent c869523ea0
commit d85753d829
-1
View File
@@ -20,7 +20,6 @@ with DAG(
@task(task_id="print_the_context")
def print_context(ds=None, **kwargs):
"""Print the Airflow context and ds variable from the context."""
pprint(kwargs)
print(ds)
return 'Whatever you return gets printed in the logs'