You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Chao-Han Tsai (JIRA)" <ji...@apache.org> on 2019/04/22 05:47:00 UTC
[jira] [Assigned] (AIRFLOW-3407) BaseOperator and LoggingMixin do
not call super().__init__
[ https://issues.apache.org/jira/browse/AIRFLOW-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao-Han Tsai reassigned AIRFLOW-3407:
--------------------------------------
Assignee: Chao-Han Tsai
> BaseOperator and LoggingMixin do 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
> Assignee: Chao-Han Tsai
> Priority: Major
>
> 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)