Check if task data has a config section. Args: task_data: The parsed YAML task data Returns: True if config section exists, False otherwise
(self, task_data: Dict[str, Any])
| 84 | raise ValueError("Workflow must be a list of steps") |
| 85 | |
| 86 | def has_config(self, task_data: Dict[str, Any]) -> bool: |
| 87 | """ |
| 88 | Check if task data has a config section. |
| 89 | |
| 90 | Args: |
| 91 | task_data: The parsed YAML task data |
| 92 | |
| 93 | Returns: |
| 94 | True if config section exists, False otherwise |
| 95 | """ |
| 96 | return "config" in task_data and task_data["config"] is not None |
| 97 | |
| 98 | def get_config_with_defaults(self, task_data: Dict[str, Any]) -> Dict[str, Any]: |
| 99 | """ |
no outgoing calls