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

Class MultivariateValueSerializer

api/features/feature_states/serializers.py:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133
134class MultivariateValueSerializer(serializers.Serializer): # type: ignore[type-arg]
135 multivariate_feature_option = serializers.IntegerField(required=True)
136 percentage_allocation = serializers.FloatField(
137 required=True, min_value=0, max_value=100
138 )
139
140
141def validate_multivariate_state_values(

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…