Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkakkar committed Oct 30, 2024
1 parent c70faa8 commit 3ed1e20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ee/clickhouse/views/experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,9 @@ def update(self, instance: Experiment, validated_data: dict, *args: Any, **kwarg
class EnterpriseExperimentsViewSet(TeamAndOrgViewSetMixin, viewsets.ModelViewSet):
scope_object = "experiment"
serializer_class = ExperimentSerializer
queryset = Experiment.objects.prefetch_related("feature_flag", "created_by", "holdout", "saved_metrics").all()
queryset = Experiment.objects.prefetch_related(
"feature_flag", "created_by", "holdout", "experimenttosavedmetric_set", "saved_metrics"
).all()
ordering = "-created_at"

# ******************************************
Expand Down

0 comments on commit 3ed1e20

Please sign in to comment.