You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Max Gasner (JIRA)" <ji...@apache.org> on 2019/02/07 19:43:00 UTC
[jira] [Created] (AIRFLOW-3825) Abstract the DockerOperator's
handling of host temporary directories
Max Gasner created AIRFLOW-3825:
-----------------------------------
Summary: Abstract the DockerOperator's handling of host temporary directories
Key: AIRFLOW-3825
URL: https://issues.apache.org/jira/browse/AIRFLOW-3825
Project: Apache Airflow
Issue Type: Improvement
Components: docker, operators
Reporter: Max Gasner
Assignee: Max Gasner
Depending on circumstances, users of the DockerOperator may want to override its handling of host temporary directories, for instance to persist those directories after DAG execution is complete, or to change their naming convention. Right now the logic governing this is buried deep inside the execute method, so that overriding this behavior requires substantial amounts of code in any class wrapping DockerOperator. We can factor this out into a new method, get_host_tmp_dir, to make this easier for users to overrride.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)