common.configuration.paths
get_dlt_project_dir
def get_dlt_project_dir() -> str
The dlt project dir is the current working directory but may be overridden by DLT_PROJECT_DIR env variable.
get_dlt_settings_dir
def get_dlt_settings_dir() -> str
Returns a path to dlt settings directory. If not overridden it resides in current working directory
The name of the setting folder is '.dlt'. The path is current working directory '.' but may be overridden by DLT_PROJECT_DIR env variable.
make_dlt_settings_path
def make_dlt_settings_path(path: str) -> str
Returns path to file in dlt settings folder.
get_dlt_data_dir
def get_dlt_data_dir() -> str
Gets default directory where pipelines' data (working directories) will be stored
- if DLT_DATA_DIR is set in env then it is used
- in user home directory: ~/.dlt/
- if current user is root: in /var/dlt/
- if current user does not have a home directory: in /tmp/dlt/