airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "adam hitchcock (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-3407) BaseOperator does not call super().__init__
Date Tue, 27 Nov 2018 19:50:00 GMT
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)

Mime
View raw message