Skip to content

Commit 0f22092

Browse files
committed
put set back
1 parent ecacdda commit 0f22092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sentry/workflow_engine/processors/workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def enqueue_workflow(
9595

9696

9797
def evaluate_workflow_triggers(
98-
workflows: BaseQuerySet[Workflow], event_data: WorkflowEventData
98+
workflows: set[Workflow], event_data: WorkflowEventData
9999
) -> set[Workflow]:
100100
triggered_workflows: set[Workflow] = set()
101101

@@ -221,7 +221,7 @@ def process_workflows(event_data: WorkflowEventData) -> set[Workflow]:
221221
organization = detector.project.organization
222222

223223
# Get the workflows, evaluate the when_condition_group, finally evaluate the actions for workflows that are triggered
224-
workflows = (
224+
workflows = set(
225225
Workflow.objects.filter(
226226
(Q(environment_id=None) | Q(environment_id=environment.id)),
227227
detectorworkflow__detector_id=detector.id,

0 commit comments

Comments
 (0)