Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Flagsmith/flagsmith
/ set_value
Method
set_value
api/util/engine_models/features/models.py:80–81 ·
view source on GitHub ↗
(self, value: typing.Any)
Source
from the content-addressed store, hash-verified
78
)
79
80
def
set_value(self, value: typing.Any) -> None:
81
self.feature_state_value = value
82
83
def
get_value(self, identity_id: typing.Union[None, int, str] = None) -> typing.Any:
84
""
"
Callers
12
test_save__feature_override_updated__generates_audit_records
Function · 0.95
test_edge_identity_feature_state_serializer__update_override__calls_webhook
Function · 0.95
_update_live_feature_state
Function · 0.45
test_list_features__with_environment__returns_feature_state_data
Function · 0.45
test_list_features__value_search_string_and_int__returns_matching
Function · 0.45
test_list_features__value_search_boolean__returns_matching
Function · 0.45
test_list_features__valid_segment_query_param__returns_segment_override
Function · 0.45
test_set_value__valid_value_and_type__sets_correctly
Function · 0.45
test_set_value__invalid_value_or_type__raises_error
Function · 0.45
test_set_value__change_type__clears_old_fields
Function · 0.45
test_set_value__invalid_value__preserves_original
Function · 0.45
save
Method · 0.45
Calls
no outgoing calls
Tested by
10
test_save__feature_override_updated__generates_audit_records
Function · 0.76
test_edge_identity_feature_state_serializer__update_override__calls_webhook
Function · 0.76
test_list_features__with_environment__returns_feature_state_data
Function · 0.36
test_list_features__value_search_string_and_int__returns_matching
Function · 0.36
test_list_features__value_search_boolean__returns_matching
Function · 0.36
test_list_features__valid_segment_query_param__returns_segment_override
Function · 0.36
test_set_value__valid_value_and_type__sets_correctly
Function · 0.36
test_set_value__invalid_value_or_type__raises_error
Function · 0.36
test_set_value__change_type__clears_old_fields
Function · 0.36
test_set_value__invalid_value__preserves_original
Function · 0.36