Update example_python_operator.py
This commit is contained in:
@@ -20,7 +20,6 @@ with DAG(
|
|||||||
@task(task_id="print_the_context")
|
@task(task_id="print_the_context")
|
||||||
def print_context(ds=None, **kwargs):
|
def print_context(ds=None, **kwargs):
|
||||||
"""Print the Airflow context and ds variable from the context."""
|
"""Print the Airflow context and ds variable from the context."""
|
||||||
pprint(kwargs)
|
|
||||||
print(ds)
|
print(ds)
|
||||||
return 'Whatever you return gets printed in the logs'
|
return 'Whatever you return gets printed in the logs'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user