Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Flagsmith/flagsmith
/ map_feature_to_engine
Function
map_feature_to_engine
api/util/mappers/engine.py:181–182 ·
view source on GitHub ↗
(feature: "Feature")
Source
from the content-addressed store, hash-verified
179
180
181
def
map_feature_to_engine(feature:
"Feature"
) -> FeatureModel:
182
return
FeatureModel(id=feature.pk, name=feature.name, type=feature.type)
183
184
185
def
map_mv_option_to_engine(
Callers
3
test_edge_identity_clone_flag_states_from__source_with_overrides__clones_to_target
Function · 0.90
to_internal_value
Method · 0.90
map_feature_state_to_engine
Function · 0.85
Calls
1
FeatureModel
Class · 0.90
Tested by
1
test_edge_identity_clone_flag_states_from__source_with_overrides__clones_to_target
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…