flambe.runner.utils
¶
Module Contents¶
-
flambe.runner.utils.
get_folder_size_MB
(path: str) → float[source]¶ Return the size of a folder in MB.
Parameters: path (str) – The path to the folder Returns: The size in MB Return type: float
-
flambe.runner.utils.
check_system_reqs
() → None[source]¶ Run system checks and prepare the system before a run.
- This method should:
- Create folders, files that are needed for flambe
- Raise errors in case requirements are not met. This should
run under the SafeExecutionContext, so errors will be handled * Warn the user in case something needs attention.