Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔄 synced local 'skyvern/' with remote 'skyvern/'
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `complete_if_empty` parameter to `ForLoopBlock` to allow loop completion if iterable is empty, with updates in `block.py`, `yaml.py`, and `service.py`. > > - **Behavior**: > - Add `complete_if_empty` parameter to `ForLoopBlock` in `block.py` to allow loop completion if iterable is empty. > - Modify `get_loop_over_parameter_values()` in `block.py` to return an empty list if `complete_if_empty` is `True` and no iterable is found. > - **YAML Models**: > - Add `complete_if_empty` to `ForLoopBlockYAML` in `yaml.py`. > - **Service Layer**: > - Update `block_yaml_to_block()` in `service.py` to handle `complete_if_empty` for `ForLoopBlock`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for 2a825f4ec0dd5deab5305312cdecbb370e09cab0. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information