You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Aizhamal Nurmamat kyzy (JIRA)" <ji...@apache.org> on 2019/05/18 02:24:00 UTC

[jira] [Updated] (AIRFLOW-3880) Don't make DockerOperator.__get_tls_config a class-private method

     [ https://issues.apache.org/jira/browse/AIRFLOW-3880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aizhamal Nurmamat kyzy updated AIRFLOW-3880:
--------------------------------------------
    Labels: docker  (was: )

> 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
>            Priority: Trivial
>              Labels: docker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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)