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

Method get_serializer_class

api/audit/views.py:62–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 return self._apply_visibility_limits(queryset)
61
62 def get_serializer_class(self): # type: ignore[no-untyped-def]
63 return {"retrieve": AuditLogRetrieveSerializer}.get(
64 self.action, AuditLogListSerializer
65 )
66
67 def _get_base_filters(self) -> Q: # pragma: no cover
68 return Q()

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected