mantik.utils.unicore.uploadยถ

Functionsยถ

file_matches_exclude_pattern(โ†’ย bool)

get_files_to_upload(โ†’ย List[pathlib.Path])

Get all files to be uploaded via UNICORE.

Module Contentsยถ

mantik.utils.unicore.upload.file_matches_exclude_pattern(path: pathlib.Path, project_dir: pathlib.Path, exclude: List[str]) โ†’ bool[source]ยถ
mantik.utils.unicore.upload.get_files_to_upload(project_dir: pathlib.Path, config: mantik.config.core.Config | mantik.config.core.SSHConfig) โ†’ List[pathlib.Path][source]ยถ

Get all files to be uploaded via UNICORE.

Notes

Since MLflow docker backend mounts the MLflow project directory, all directory contents are uploaded here as well.