info_get_cpu_count()
def info_get_cpu_count()
Get the number of CPUs available
Returns
The number of CPUs available
info_get_path_to_spaces_tools()
def info_get_path_to_spaces_tools()
Get the path to the Spaces tools folder
Returns
The path to the Spaces tools folder
info_get_path_to_store()
def info_get_path_to_store()
Gets the path to the spaces store
Returns
The path to the store
info_get_platform_name()
def info_get_platform_name()
Get the platform name
Returns
The platform name
info_get_supported_platforms()
def info_get_supported_platforms()
Get the supported platforms
Returns
The supported platforms
info_is_platform_aarch64()
def info_is_platform_aarch64()
Check if the platform is aarch64
Returns
True if the platform is aarch64, False otherwise
info_is_platform_linux()
def info_is_platform_linux()
Check if the platform is Linux
Returns
True if the platform is Linux, False otherwise
info_is_platform_macos()
def info_is_platform_macos()
Check if the platform is macOS
Returns
True if the platform is macOS, False otherwise
info_is_platform_windows()
def info_is_platform_windows()
Check if the platform is Windows
Returns
True if the platform is Windows, False otherwise
info_is_platform_x86_64()
def info_is_platform_x86_64()
Check if the platform is x86_64
Returns
True if the platform is x86_64, False otherwise
info_parse_log_file()
def info_parse_log_file(path)
Parses a log file
Args
path
- path to the log file
Returns
dict: with members header
and lines
info_set_max_queue_count()
def info_set_max_queue_count(max_queue_count)
Set the maximum number of jobs that can be queued.
Args
max_queue_count
- The maximum number of jobs that can be queued
info_set_minimum_version()
def info_set_minimum_version(version)
Set the minimum version of Spaces required to run the workflow
Args
version
- The minimum version of Spaces required to run the workflow
info_set_required_semver()
def info_set_required_semver(required)
Set the required spaces
semver for the workflow
Args
required
- The required semver for the workflow