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

Function is_experiment_feature_enabled

api/experimentation/services.py:93–98  ·  view source on GitHub ↗
(organisation: Organisation)

Source from the content-addressed store, hash-verified

91
92
93def is_experiment_feature_enabled(organisation: Organisation) -> bool:
94 return get_openfeature_client().get_boolean_value(
95 EXPERIMENT_FLAG,
96 default_value=False,
97 evaluation_context=organisation.openfeature_evaluation_context,
98 )
99
100
101@lru_cache(maxsize=1)

Callers 1

has_permissionMethod · 0.90

Calls 1

get_openfeature_clientFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…