MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / get_queryset

Method get_queryset

api/features/views.py:844–848  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

842 permission_classes = [IsAuthenticated, IdentityFeatureStatePermissions]
843
844 def get_queryset(self): # type: ignore[no-untyped-def]
845 if getattr(self, "swagger_fake_view", False):
846 return FeatureState.objects.none()
847
848 return super().get_queryset().filter(identity__pk=self.kwargs["identity_pk"]) # type: ignore[no-untyped-call]
849
850 @action(methods=["GET"], detail=False)
851 def all(self, request, *args, **kwargs): # type: ignore[no-untyped-def]

Callers

nothing calls this directly

Calls 1

get_querysetMethod · 0.45

Tested by

no test coverage detected