Skip to content
Snippets Groups Projects
Commit 736b8a44 authored by Derval Guillaume's avatar Derval Guillaume
Browse files

Small typing fix

parent 5a34cefe
No related branches found
No related tags found
No related merge requests found
......@@ -182,7 +182,7 @@ def _lark_to_gboml(tree: Tree, filename: Optional[str] = None) -> GBOMLGraph:
for name, import_from in zip(names, imports_from or repeat(None, len(names))):
yield VariableDefinition(scope, type or VarType.continuous, name, import_from, tags, meta=meta)
def variables_block(self, _: Meta, *defs: list[Iterable[VariableDefinition]]):
def variables_block(self, _: Meta, *defs: Tuple[Iterable[VariableDefinition]]):
return [vd for iterable in defs for vd in iterable]
def multi_loop(self, meta: Meta, *loops: Tuple[Loop]):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment