Sentry Issue: [POSTHOG-35A](https://sentry.io/organizations/posthog/issues/2487828485/?referrer=github_integration)

```
AttributeError: can't set attribute
  File "rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "ee/clickhouse/views/insights.py", line 69, in funnel
    response = self.calculate_funnel(request)
  File "posthog/decorators.py", line 47, in wrapper
    result = f(*args, **kwargs)
  File "ee/clickhouse/views/insights.py", line 80, in calculate_funnel
    filter.funnel_viz_type = FunnelVizType.TRENDS
```
ee/clickhouse/views/insights.py
response = self.calculate_funnel(request)
        return Response(response)
    @cached_function()
    def calculate_funnel(self, request: Request) -> Dict[str, Any]:
        team = self.team
        filter = Filter(request=request, data={"insight": INSIGHT_FUNNELS})
        
        
        if not filter.funnel_viz_type and filter.display == TRENDS_LINEAR:
            filter.funnel_viz_type = FunnelVizType.TRENDS
        if filter.funnel_viz_type == FunnelVizType.TRENDS:
            return {"result": ClickhouseFunnelTrends(team=team, filter=filter).run()}
        elif filter.funnel_order_type == FunnelOrderType.UNORDERED:
            return {"result": ClickhouseFunnelUnordered(team=team, filter=filter).run()}
        else:
            return {"result": ClickhouseFunnel(team=team, filter=filter).run()}
    @cached_function()
    def calculate_retention(self, request: Request) -> Dict[str, Any]:
        team = self.team
        data = {}
        if not request.GET.get("date_from"):
            data.update({"date_from": "-11d"})
        filter = RetentionFilter(data=data, request=request)
        result = ClickhouseRetention().run(filter, team)
        return {"result": result}