Sam Wheating created AIRFLOW-6836:
-------------------------------------
Summary: DebugExecutor failing to change task state.
Key: AIRFLOW-6836
URL: https://issues.apache.org/jira/browse/AIRFLOW-6836
Project: Apache Airflow
Issue Type: Bug
Components: executors
Affects Versions: 1.10.9
Reporter: Sam Wheating
Assignee: Sam Wheating
Fix For: 1.10.10
Running a DAG locally with the DebugExecutor fails with the following error:
```
File
"/Users/samwheating/.pyenv/versions/3.7.3/lib/python3.7/site-packages/airflow/executors/debug_executor.py",
line 148, in change_state
self.running.remove(key)
AttributeError: 'dict' object has no attribute 'remove'
```
This seems to be because the change_state function is expecting a set rather
than a dict for `self.running`. This should be updated to use `del
self.running[key]` or `self.running.pop(key)`.
I'll submit a PR for this tomorrow.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)