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

Method to_representation

api/features/serializers.py:189–190  ·  view source on GitHub ↗
(self, value: FFAdminUser)

Source from the content-addressed store, hash-verified

187 return FFAdminUser.objects.all()
188
189 def to_representation(self, value: FFAdminUser) -> dict[str, Any]:
190 return UserListSerializer(value).data
191
192
193class _FeatureGroupOwnersField(serializers.PrimaryKeyRelatedField[UserPermissionGroup]):

Callers

nothing calls this directly

Calls 1

UserListSerializerClass · 0.90

Tested by

no test coverage detected