#NEWLINE# def _upload( param_dict , timeout , data ) : #NEWLINE# #INDENT# '\n    Calls upload either with a local audio file,\n    or a url. Returns a track object.\n    ' #NEWLINE# param_dict [ 'format' ] = 'json' #NEWLINE# param_dict [ 'wait' ] = 'true' #NEWLINE# param_dict [ 'bucket' ] = 'audio_summary' #NEWLINE# result = util . callm ( 'track/upload' , param_dict , POST = True , socket_timeout = 300 , data = data ) #NEWLINE# return _track_from_response ( param_dict , timeout )