Update example_python_operator.py
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user