(self)
| 387 | ) |
| 388 | |
| 389 | def get_identity_overrides_queryset(self) -> QuerySet[FeatureState]: |
| 390 | ids = self._get_active_feature_states_ids( |
| 391 | "identity_id", |
| 392 | {"identity__isnull": False, "feature_segment__isnull": True}, |
| 393 | ) |
| 394 | result: QuerySet[FeatureState] = FeatureState.objects.filter(id__in=ids) |
| 395 | return result |
| 396 | |
| 397 | def _get_active_feature_states_ids( |
| 398 | self, |