turbaszek opened a new issue #11393:
URL: https://github.com/apache/airflow/issues/11393
**Apache Airflow version**:
v2.0.0
**What happened**:
Custom operators inheriting from DummyOperator are stuck in a scheduled
state.
**What you expected to happen**:
All operators should be successfully executed.
**How to reproduce it**:
```py
from datetime import datetime
from airflow import DAG
from airflow.operators.dummy_operator import DummyOperator
class MyJob(DummyOperator):
template_fields_renderers = {
"body": "json"
}
template_fields = ("body",)
def __init__(self, body, *args, **kwargs):
super().__init__(*args, **kwargs)
self.body = body
with DAG(
dag_id="test",
schedule_interval=None,
start_date=datetime(2020, 8, 13),
) as dag:
MyJob(task_id="aaaa", body={"aaa": "bbb"})
```
**Anything else we need to know**:
This is a known problem that we will fix, see:
https://github.com/apache/airflow/pull/10956#discussion_r502492775
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]