Skip to content

Commit 445ac3a

Browse files
committed
fix the last mypy failure
1 parent 6d05c9f commit 445ac3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/sentry/workflow_engine/endpoints/validators/base/data_condition_group.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def _validate_logic_type(self, condition_data: list[dict[str, Any]], logic_type:
4646
"""
4747
for condition in condition_data:
4848
try:
49-
condition_type = Condition(condition.get("type"))
49+
condition_type = Condition(str(condition.get("type")))
5050
except ValueError:
5151
raise serializers.ValidationError(
5252
f"Invalid condition type, '{condition.get('type')}'"

0 commit comments

Comments
 (0)