yaml_workflow.tasks.python_tasks¶
yaml_workflow.tasks.python_tasks
¶
Python task implementations for executing Python functions.
Classes¶
Functions¶
print_message_task(config: TaskConfig) -> dict
¶
Prints a templated message to the console.
Source code in src/yaml_workflow/tasks/python_tasks.py
print_vars_task(config: TaskConfig) -> dict
¶
Prints selected variables from the context for debugging.
Source code in src/yaml_workflow/tasks/python_tasks.py
python_code(config: TaskConfig) -> Dict[str, Any]
¶
Execute a snippet of Python code.
Source code in src/yaml_workflow/tasks/python_tasks.py
python_function(config: TaskConfig) -> Dict[str, Any]
¶
Execute a Python function from a specified module.
Source code in src/yaml_workflow/tasks/python_tasks.py
python_module(config: TaskConfig) -> Dict[str, Any]
¶
Execute a Python module as a script.
Source code in src/yaml_workflow/tasks/python_tasks.py
python_script(config: TaskConfig) -> Dict[str, Any]
¶
Execute an external Python script.