You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/30 20:12:10 UTC

[jira] [Commented] (AIRFLOW-286) Improve FTPHook to implement context manager interface

    [ https://issues.apache.org/jira/browse/AIRFLOW-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357768#comment-15357768 ] 

ASF subversion and git services commented on AIRFLOW-286:
---------------------------------------------------------

Commit 002cf85bdbbe62d04cec741b078e1600e0fd6c0a in incubator-airflow's branch refs/heads/master from [~skudriashev]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=002cf85 ]

[AIRFLOW-286] Improve FTPHook to implement context manager interface

Closes #1632 from skudriashev/airflow-286


> Improve FTPHook to implement context manager interface
> ------------------------------------------------------
>
>                 Key: AIRFLOW-286
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-286
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: hooks
>            Reporter: Stanislav Kudriashev
>            Assignee: Stanislav Kudriashev
>            Priority: Minor
>             Fix For: Airflow 1.8
>
>
> It would be very nice to use FTPHook as a context manager:
> {code}
> with FTPHook(...) as hook:
>     ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)