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

Function is_warehouse_feature_enabled

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

Source from the content-addressed store, hash-verified

83
84
85def is_warehouse_feature_enabled(organisation: Organisation) -> bool:
86 return get_openfeature_client().get_boolean_value(
87 WAREHOUSE_CONNECTION_FLAG,
88 default_value=False,
89 evaluation_context=organisation.openfeature_evaluation_context,
90 )
91
92
93def is_experiment_feature_enabled(organisation: Organisation) -> bool:

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…