You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
conditional("single_task_in_conditional")
.if_(is_heads.is_true())
.then(
conditional("inner_nested_conditions")
.if_(evaluated_branch_id=="if_")
.then(calculate_circle_circumference(radius=evaluated_radius)) # this is executed when it should not be.
.elif_(evaluated_branch_id=="elif_1")
.then(calculate_circle_circumference(radius=evaluated_radius))
.elif_(evaluated_branch_id=="elif_2")
.then(calculate_circle_circumference(radius=evaluated_radius))
.else_()
.fail(RADIUS_NEGATIVE_ERROR)
)
.else_()
.then(echo_radius(radius=evaluated_radius))
...ideally without having to do ast parsing.
Expected behavior
Nested conditional does not run if outer conditional is not true.
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
Yes
Have you read the Code of Conduct?
Yes
The text was updated successfully, but these errors were encountered:
Describe the bug
Can we get this to work in local execution?
...ideally without having to do ast parsing.
Expected behavior
Nested conditional does not run if outer conditional is not true.
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: