diff --git a/posthog/tasks/stop_surveys_reached_target.py b/posthog/tasks/stop_surveys_reached_target.py index 9bcdb45085ee1..7c144010e5787 100644 --- a/posthog/tasks/stop_surveys_reached_target.py +++ b/posthog/tasks/stop_surveys_reached_target.py @@ -1,5 +1,3 @@ -from typing import List, Dict - from itertools import groupby from django.db.models import UUIDField, DateTimeField, Q from django.utils import timezone @@ -10,8 +8,8 @@ def _get_surveys_response_counts( - surveys_ids: List[UUIDField], team_id: UUIDField, earliest_survey_creation_date: DateTimeField -) -> Dict[str, int]: + surveys_ids: list[UUIDField], team_id: UUIDField, earliest_survey_creation_date: DateTimeField +) -> dict[str, int]: data = sync_execute( """ SELECT JSONExtractString(properties, '$survey_id') as survey_id, count()