You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2020/01/19 23:37:09 UTC
[jira] [Closed] (AIRFLOW-3324) Make the read lines iter common code
[ https://issues.apache.org/jira/browse/AIRFLOW-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Potiuk closed AIRFLOW-3324.
---------------------------------
Resolution: Won't Fix
I am closing some old issues that are not relevant any more. Please let me know if you want to reopen it.
> Make the read lines iter common code
> ------------------------------------
>
> Key: AIRFLOW-3324
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3324
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Holden Karau
> Priority: Minor
>
> Since many operators need to do something like. This came up in 3e7e42f028279a628d9e15d1ae4b6005593f8afb and is also referenced in AIRFLOW-3128
> {code:java}
> # This is bad
> iter(self._submit_sp.stdout.readline, '')
> # This is "good"
> iter(self._submit_sp.stdout.readline, b''){code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)