Skip to content

Commit

Permalink
remove defualt answer from Rule Eval Param
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuyuutsu committed Oct 16, 2024
1 parent 62de00c commit 6673b5b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/questionnaire/value_source_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ def _resolve_summary_with_calculation(
location=self.location,
routing_path_block_ids=self.routing_path_block_ids,
value_source_resolver=self,
use_default_answer=True,
)

return evaluator.evaluate(calculation["operation"]) # type: ignore
Expand Down
1 change: 0 additions & 1 deletion app/questionnaire/variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def choose_variant( # type: ignore
data_stores=data_stores,
location=current_location,
value_source_resolver=value_source_resolver,
use_default_answer=True,
)

if when_rule_evaluator.evaluate(when_rules):
Expand Down

0 comments on commit 6673b5b

Please sign in to comment.