You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Bas Harenslak (JIRA)" <ji...@apache.org> on 2019/05/18 13:21:00 UTC
[jira] [Created] (AIRFLOW-4537) Cleanup the mkdir_p function
Bas Harenslak created AIRFLOW-4537:
--------------------------------------
Summary: Cleanup the mkdir_p function
Key: AIRFLOW-4537
URL: https://issues.apache.org/jira/browse/AIRFLOW-4537
Project: Apache Airflow
Issue Type: Sub-task
Reporter: Bas Harenslak
configuration.mkdir_p seems to come straight from [https://stackoverflow.com/a/600612.]
Now with Python 3.5, we have this functionality native. From the same post:
{{pathlib.Path("/tmp/path/to/desired/directory").mkdir(parents=True, exist_ok=True)}}
Remove the custom mkdir_p function and replace by pathlib. Will also resolve some imports to configuration, just for mkdir_p.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)