mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-17 02:39:40 +00:00
loop task (#1317)
This commit is contained in:
parent
3b2e2de197
commit
521e355591
2 changed files with 16 additions and 3 deletions
|
@ -598,9 +598,6 @@ class ForLoopBlock(Block):
|
|||
return list(parameters)
|
||||
|
||||
def get_loop_block_context_parameters(self, workflow_run_id: str, loop_data: Any) -> list[ContextParameter]:
|
||||
if not isinstance(loop_data, dict) and not isinstance(loop_data, list):
|
||||
raise ValueError("loop_data should be a dict or a list.")
|
||||
|
||||
context_parameters = []
|
||||
for loop_block in self.loop_blocks:
|
||||
# todo: handle the case where the loop_block is a ForLoopBlock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue