Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
563404f914 | ||
|
|
d15aac41a9 | ||
|
|
8a3e28b949 |
@@ -3,3 +3,7 @@
|
||||
Please see the main [PostHog docs](https://posthog.com/docs).
|
||||
|
||||
Specifically, the [Python integration](https://posthog.com/docs/integrations/python-integration) details.
|
||||
|
||||
## Questions?
|
||||
|
||||
### [Join our Slack community.](https://join.slack.com/t/posthogusers/shared_invite/enQtOTY0MzU5NjAwMDY3LTc2MWQ0OTZlNjhkODk3ZDI3NDVjMDE1YjgxY2I4ZjI4MzJhZmVmNjJkN2NmMGJmMzc2N2U3Yjc3ZjI5NGFlZDQ)
|
||||
|
||||
+1
-1
@@ -296,7 +296,7 @@ class Client(object):
|
||||
except IndexError:
|
||||
return default
|
||||
|
||||
if feature_flag.get("is_simple_flag"):
|
||||
if feature_flag.get("is_simple_flag") and feature_flag.get("rollout_percentage"):
|
||||
response = _hash(key, distinct_id) <= (feature_flag["rollout_percentage"] / 100)
|
||||
else:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user