<s> """<STR_LIT>""" <EOL> from jut import defaults <EOL> from jut . api import deployments , data_engine <EOL> def get_webhook_url ( deployment_name , <EOL> space = '<STR_LIT:default>' , <EOL> data_source = '<STR_LIT>' , <EOL> token_manager = None , <EOL> app_url = defaults . APP_URL , <EOL> ** fields ) : <EOL> """<STR_LIT>""" <EOL> import_url = data_engine . get_import_data_url ( deployment_name , <EOL> app_url = app_url , <EOL> token_manager = token_manager ) <EOL> api_key = deployments . get_apikey ( deployment_name , <EOL> token_manager = token_manager , <EOL> app_url = app_url ) <EOL> fields_string = '<STR_LIT:&>' . join ( [ '<STR_LIT>' % ( key , value ) <EOL> for ( key , value ) in fields . items ( ) ] ) <EOL> return '<STR_LIT>' % ( import_url , space , data_source , api_key , fields_string ) </s>
