Skip to main content

Module utils

Module utils 

Source
Expand description

Utility functions and helpers.

Structs§

WorkflowStatistics
Workflow statistics.

Functions§

calculate_parallelism
Calculate task parallelism opportunities.
clone_workflow
Clone a workflow with a new ID.
estimate_workflow_duration
Calculate estimated workflow duration.
expand_env_vars
Expand environment variables in a string.
expand_template
Expand template variables in a string.
find_critical_path
Find critical path in workflow.
format_duration
Format duration as human-readable string.
generate_task_name
Generate a unique task name.
get_workflow_statistics
Get workflow statistics.
merge_configs
Merge workflow configurations.
normalize_paths
Normalize file paths in workflow.
parse_duration
Parse duration from string (e.g., “1h30m”, “90s”, “1.5h”).
sanitize_task_name
Sanitize task name (remove invalid characters).