[
https://issues.apache.org/jira/browse/AIRFLOW-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822916#comment-16822916
]
ASF GitHub Bot commented on AIRFLOW-3407:
-----------------------------------------
milton0825 commented on pull request #5148: [AIRFLOW-3407] Make BaseOperator
calls super().__init__
URL: https://github.com/apache/airflow/pull/5148
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)