[
https://issues.apache.org/jira/browse/AIRFLOW-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
adam hitchcock updated AIRFLOW-3407:
------------------------------------
Description:
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?
was:
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?
> 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
> 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)