MCPcopy Index your code
hub / github.com/Flagsmith/flagsmith / my_groups

Method my_groups

api/users/views.py:282–286  ·  view source on GitHub ↗

Returns a list of summary group objects only for the groups a user is a member of.

(self, request: Request, organisation_pk: int)

Source from the content-addressed store, hash-verified

280
281 @action(detail=False, methods=["GET"], url_path="my-groups")
282 def my_groups(self, request: Request, organisation_pk: int) -> Response:
283 """
284 Returns a list of summary group objects only for the groups a user is a member of.
285 """
286 return self.list(request, organisation_pk)
287
288 @action(detail=False, methods=["GET"])
289 def summaries(self, request: Request, organisation_pk: int) -> Response:

Callers

nothing calls this directly

Calls 1

listMethod · 0.45

Tested by

no test coverage detected