Skip to content
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

feat: adds 'create_recipients' function to the braze client #25

Merged
merged 3 commits into from
May 1, 2024

Conversation

brobro10000
Copy link
Contributor

@brobro10000 brobro10000 commented May 1, 2024

Adds a create_recipients function within the client which allows multiple users to be identified with the identify_users function.

This function will give the ability for the user to call the Braze client's identify_users function with up to 50 items within the list facilitating bulk actions.

It constructs a dictionary of email address keyed values which map to, attributes, external_user_id, trigger_properties, and send_to_existing_only fields.
attributes contains email keyed values which map to user_alias, email, is_enterprise_learner, _updates_existing_only fields.

@brobro10000 brobro10000 force-pushed the hu/ent-8713 branch 4 times, most recently from 40f5c34 to afbb2c0 Compare May 1, 2024 18:06
Copy link
Member

@pwnage101 pwnage101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple nits, otherwise LGTM

braze/client.py Outdated Show resolved Hide resolved
braze/client.py Outdated Show resolved Hide resolved
test_utils/utils.py Outdated Show resolved Hide resolved
braze/client.py Outdated Show resolved Hide resolved
tests/braze/test_client.py Outdated Show resolved Hide resolved
@brobro10000 brobro10000 merged commit fca08e6 into main May 1, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants