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

Class SegmentListQuerySerializer

api/segments/serializers.py:234–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232
233
234class SegmentListQuerySerializer(serializers.Serializer): # type: ignore[type-arg]
235 q = serializers.CharField(
236 required=False,
237 help_text="Search term to find segment with given term in their name",
238 )
239 identity = serializers.CharField(
240 required=False,
241 help_text="Optionally provide the id of an identity to get only the segments they match",
242 )
243 include_feature_specific = serializers.BooleanField(required=False, default=True)
244
245
246class CloneSegmentSerializer(serializers.ModelSerializer[Segment]):

Callers 1

get_querysetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected