-
Notifications
You must be signed in to change notification settings - Fork 37
Feature/event listener #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
optimizely/helpers/enums.py
Outdated
""" NotificationTypes for the notification_center.NotificationCenter | ||
format is NOTIFICATION TYPE: list of parameters to callback. | ||
""" | ||
ACTIVATE = "ACTIVATE:experiment, user_id,attributes, variation, event" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the reason for changing this back to ACTIVATE
from DECISION
? ACTIVATE
is more of an Optimizely term and might not make sense to developers of other anaytics products. Instead DECISION
is a more industry-standard term.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thomaszurkan-optimizely I left a comment here in case you miss it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ship it
optimizely/optimizely.py
Outdated
if decision.experiment is not None and \ | ||
decision.experiment.audienceIds is not None and \ | ||
len(decision.experiment.audienceIds) > 0: | ||
audience_id = decision.experiment.audienceIds[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thomaszurkan-optimizely Hi, I have a question here. In the case where the rollout rule/experiment has multiple audience IDs, and the user didn't qualify for the first audience, but for some other audience id in the list. Do we still send the audience at index 0 in send_notifications method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, please wait for e2e tests to pass
No description provided.