(self)
| 825 | permission_classes = [EnvironmentFeatureStatePermissions] |
| 826 | |
| 827 | def get_queryset(self): # type: ignore[no-untyped-def] |
| 828 | queryset = super().get_queryset().filter(feature_segment=None) # type: ignore[no-untyped-call] |
| 829 | |
| 830 | if "anyIdentity" in self.request.query_params: |
| 831 | # TODO: deprecate anyIdentity query parameter |
| 832 | return queryset.exclude(identity=None) |
| 833 | return queryset.filter(identity=None) |
| 834 | |
| 835 | def get_serializer_class(self): # type: ignore[no-untyped-def] |
| 836 | if self.action == "create_new_version": |
nothing calls this directly
no test coverage detected