You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "adam hitchcock (JIRA)" <ji...@apache.org> on 2018/11/27 19:50:00 UTC

[jira] [Created] (AIRFLOW-3407) BaseOperator does not call super().__init__

adam hitchcock created AIRFLOW-3407:
---------------------------------------

             Summary: BaseOperator does not call super().__init__
                 Key: AIRFLOW-3407
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3407
             Project: Apache Airflow
          Issue Type: Bug
          Components: operators
    Affects Versions: 1.10.1
            Reporter: adam hitchcock


TheĀ {{BaseOperator}} is not necessarily the last class in the MRO; usually it is best practice to always call {{super().__init__(*args, **kwargs)}} to make sure that every class gets it chance to {{__init__}}.

Is there a specific reason {{BaseOperator}} doesn't call super?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)