airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Gasner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-3880) Don't make DockerOperator.__get_tls_config a class-private method
Date Tue, 12 Feb 2019 22:52:00 GMT
Max Gasner created AIRFLOW-3880:
-----------------------------------

             Summary: Don't make DockerOperator.__get_tls_config a class-private method
                 Key: AIRFLOW-3880
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3880
             Project: Apache Airflow
          Issue Type: Improvement
          Components: docker, operators
            Reporter: Max Gasner
            Assignee: Max Gasner


Right now, classes that inherit from DockerOperator don't inherit this method – but there's
no obvious reason why it should be class-private. Deriving DockerOperator, one is forced to
do stuff like this, which doesn't seem necessary:
 
{{def __get_tls_config(self):}}
{{# pylint: disable=no-member}}
{{return super(MyDockerOperator, self)._DockerOperator__get_tls_config()}}



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

Mime
View raw message