Max Gasner created AIRFLOW-3872:
-----------------------------------
Summary: repr() is broken for operator instances when task_id is
not set
Key: AIRFLOW-3872
URL: https://issues.apache.org/jira/browse/AIRFLOW-3872
Project: Apache Airflow
Issue Type: Bug
Components: operators, plugins
Affects Versions: 1.10.2
Reporter: Max Gasner
Assignee: Max Gasner
If you define a new operator and inspect it during __init__, or at any other
time before task_id is set, repr() raises an AttributeError: "'MyOperator'
object has no attribute 'task_id'. repr() should do something sensible instead
of raising here.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)