def add_emails(config_name, emails):
    analytics_statuses = {}

    from deployer.src.algolia_internal_api import add_user_to_index

    for email in emails:
        analytics_statuses[email] = add_user_to_index(config_name, email)

    return analytics_statuses
Exemple #2
0
    def run(self, args):
        from deployer.src.algolia_internal_api import add_user_to_index

        add_user_to_index(args[0], args[1])