File tree 1 file changed +2
-2
lines changed
src/sentry/workflow_engine/processors
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def enqueue_workflow(
95
95
96
96
97
97
def evaluate_workflow_triggers (
98
- workflows : BaseQuerySet [Workflow ], event_data : WorkflowEventData
98
+ workflows : set [Workflow ], event_data : WorkflowEventData
99
99
) -> set [Workflow ]:
100
100
triggered_workflows : set [Workflow ] = set ()
101
101
@@ -221,7 +221,7 @@ def process_workflows(event_data: WorkflowEventData) -> set[Workflow]:
221
221
organization = detector .project .organization
222
222
223
223
# Get the workflows, evaluate the when_condition_group, finally evaluate the actions for workflows that are triggered
224
- workflows = (
224
+ workflows = set (
225
225
Workflow .objects .filter (
226
226
(Q (environment_id = None ) | Q (environment_id = environment .id )),
227
227
detectorworkflow__detector_id = detector .id ,
You can’t perform that action at this time.
0 commit comments