Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovidiu Rusu committed Dec 3, 2024
1 parent 805f9ab commit f123d66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sema4ai/src/sema4ai_code/robo/collect_actions_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ def _extract_datasource_info(call_node: ast_module.Call, variable_values: dict)
return info


def _collect_actions_from_ast(p: Path, collect_datasources: False) -> Iterator[dict]:
def _collect_actions_from_ast(
p: Path, collect_datasources: bool = False
) -> Iterator[dict]:
action_contents_file = p.read_bytes()
ast = ast_module.parse(action_contents_file, "<string>")
variables = _collect_variables(ast)
Expand Down

0 comments on commit f123d66

Please sign in to comment.