jmelot commented on a change in pull request #15959:
URL: https://github.com/apache/airflow/pull/15959#discussion_r672749007
##########
File path: airflow/providers/asana/example_dags/example_asana.py
##########
@@ -31,46 +33,62 @@
"owner": "airflow",
}
+ASANA_TASK_TO_UPDATE = os.environ.get("ASANA_TASK_TO_UPDATE")
+ASANA_TASK_TO_DELETE = os.environ.get("ASANA_TASK_TO_DELETE")
+ASANA_PROJECT_ID = os.environ.get("ASANA_PROJECT_ID")
+CONN_ID = os.environ.get("ASANA_CONNECTION_ID")
Review comment:
Hi @potiuk!
[This](https://github.com/apache/airflow/runs/3103723424#step:6:449) is the
error I saw (tried to link to it but that doesn't seem to be working - it's
line 449, I'll paste the stack trace below). I can revert my previous commit so
this error will get triggered again, if that would be useful, or let me know
anything else I can do to help.
```
Traceback (most recent call last):
File "/opt/airflow/dev/import_all_classes.py", line 77, in
import_all_classes
_module = importlib.import_module(modinfo.name)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in
import_module
return _bootstrap._gcd_import(name, package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in
_find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/opt/airflow/airflow/providers/asana/example_dags/example_asana.py",
line 36, in <module>
ASANA_TASK_TO_UPDATE = os.environ["ASANA_TASK_TO_UPDATE"]
File "/usr/local/lib/python3.6/os.py", line 669, in __getitem__
raise KeyError(key) from None
KeyError: 'ASANA_TASK_TO_UPDATE'
----------------------------------------
########################################################################################################################
[IN CONTAINER] EXITING
/opt/airflow/scripts/in_container/run_prepare_provider_documentation.sh WITH
EXIT CODE 1
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]