Fix Loop block parameters (#1492)

This commit is contained in:
Shuchang Zheng 2025-01-05 20:47:48 -08:00 committed by GitHub
parent 466f20918b
commit a241b09701
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -142,8 +142,8 @@ class ForLoopBlockYAML(BlockYAML):
# to infer the type of the parameter_type attribute.
block_type: Literal[BlockType.FOR_LOOP] = BlockType.FOR_LOOP # type: ignore
loop_over_parameter_key: str
loop_blocks: list["BLOCK_YAML_SUBCLASSES"]
loop_over_parameter_key: str = ""
loop_variable_reference: str | None = None