Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtitherington committed Mar 17, 2024
1 parent 60ae8de commit 3418b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/models/flow_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def execute_automatic_transitions(self):
with transaction.atomic():
for active_step in self.active_steps.all():
transition_count = 0
# TODO: Is this loop necessary?
# TODO: Filter the transitions to only include the ones that can transition
for transition in active_step.outgoing_transitions.filter(
transition_schema__type=TransitionSchema.TransitionType.AUTOMATIC
):
Expand Down

0 comments on commit 3418b5c

Please sign in to comment.