Just trying to run the example in: https://github.com/apache/airflow/blob/main/airflow/example_dags/tutorial_etl_dag.py
But basically getting this (removed the try/except at the and and some comments, so line numbers might not match).
Is there something special I need to install?
Traceback (most recent call last):
File "/usr/local/airflow/d/dags/tc70_test_script.py", line 27, in <module>
tc70_test_script = tc70_test_script()
File "/usr/local/lib/python3.6/site-packages/airflow/models/dag.py", line 2984, in factory
f(**f_kwargs)
File "/usr/local/airflow/d/dags/tc70_test_script.py", line 9, in tc70_test_script
@task.docker()
File "/usr/local/lib/python3.6/site-packages/airflow/decorators/__init__.py", line 33, in __getattr__
raise AttributeError(f"task decorator {name!r} not found")
AttributeError: task decorator 'docker' not found