You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move feature-flag evaluation onto context with OpenFeature-style API
Add get_boolean_value/get_string_value/get_integer_value/get_float_value/
get_object_value methods to CouchersContext, mirroring the OpenFeature
evaluation API and requiring an in-code default per call. All methods
(including boolean) now evaluate via the GrowthBook SDK's get_feature_value
so the in-code default is honored when a flag isn't set up yet - the old
check_gate used is_on(), which hardcoded False for missing flags.
Relocate the type-only CouchersContext imports in db.py and sql.py under
TYPE_CHECKING to avoid a context -> experimentation -> db/sql -> context
import cycle.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments