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

Class UserPermissionGroupSummarySerializer

api/users/serializers.py:111–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109
110
111class UserPermissionGroupSummarySerializer(serializers.ModelSerializer): # type: ignore[type-arg]
112 class Meta:
113 model = UserPermissionGroup
114 fields = ("id", "name")
115 read_only_fields = ("id", "name")
116
117
118class ListUserPermissionGroupMembershipSerializer(serializers.ModelSerializer): # type: ignore[type-arg]

Callers 2

to_representationMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…