Skip to content

Commit

Permalink
python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
aspicer committed Oct 2, 2024
1 parent 86e70e1 commit d760efd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions posthog/user_scripts/aggregate_funnel_trends.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/python3
import sys
from dataclasses import dataclass, replace
from typing import Any
from collections.abc import Sequence
from typing import Any, Union
import typing
import json


Expand Down Expand Up @@ -40,7 +40,7 @@ def calculate_funnel_trends_from_user_events(
breakdown_attribution_type: str,
funnel_order_type: str,
prop_vals: list[Any],
events: Sequence[tuple[float, int, list[str] | int | str, list[int]]],
events: typing.Sequence[tuple[float, int, Union[list[str], int, str], list[int]]],
):
default_entered_timestamp = EnteredTimestamp(0, [])
# If the attribution mode is a breakdown step, set this to the integer that represents that step
Expand Down

0 comments on commit d760efd

Please sign in to comment.