<s> """<STR_LIT>""" <EOL> from totalimpactwebapp . testing import is_test_email <EOL> import os <EOL> import requests <EOL> def new_user ( slug , email ) : <EOL> webhook_slugs = os . getenv ( "<STR_LIT>" , None ) <EOL> if ( webhook_slugs is None ) or is_test_email ( email ) : <EOL> return False <EOL> for webhook_slug in webhook_slugs . split ( "<STR_LIT:U+002C>" ) : <EOL> zapier_webhook_url = "<STR_LIT>" . format ( <EOL> webhook_slug = webhook_slug ) <EOL> data = { <EOL> "<STR_LIT>" : "<STR_LIT>" + slug <EOL> } <EOL> headers = { '<STR_LIT>' : '<STR_LIT:application/json>' , '<STR_LIT>' : '<STR_LIT:application/json>' } <EOL> r = requests . post ( zapier_webhook_url , data = data , headers = headers ) </s>
