(self, config: dict[str, Any])
| 51 | ) |
| 52 | |
| 53 | def validate(self, config: dict[str, Any]) -> list[str]: |
| 54 | errors = super().validate(config) |
| 55 | wait_for = config.get("wait_for", []) |
| 56 | if not isinstance(wait_for, list) or not wait_for: |
| 57 | errors.append( |
| 58 | f"Fan-in step {config.get('id', '?')!r}: " |
| 59 | f"'wait_for' must be a non-empty list of step IDs." |
| 60 | ) |
| 61 | return errors |