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

Method get_by_uuid

api/projects/views.py:119–123  ·  view source on GitHub ↗
(self, request, uuid)

Source from the content-addressed store, hash-verified

117 methods=["get"],
118 )
119 def get_by_uuid(self, request, uuid): # type: ignore[no-untyped-def]
120 qs = self.get_queryset() # type: ignore[no-untyped-call]
121 project = get_object_or_404(qs, uuid=uuid)
122 serializer = self.get_serializer(project)
123 return Response(serializer.data)
124
125 @extend_schema(
126 tags=["mcp"],

Callers

nothing calls this directly

Calls 1

get_querysetMethod · 0.95

Tested by

no test coverage detected