Skip to content

Instantly share code, notes, and snippets.

@isquick82
Created August 29, 2018 19:31
Show Gist options
  • Save isquick82/0fbca738114d49042b3550c1d077fb02 to your computer and use it in GitHub Desktop.
Save isquick82/0fbca738114d49042b3550c1d077fb02 to your computer and use it in GitHub Desktop.
# Evaluate a feature flag and variable
enabled = optimizely_client.is_feature_enabled('price_filter', user_id)
min_price = optimizely_client.get_feature_variable_integer('price_filter', 'min_price', user_id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment