After debugging further, I found that I had a syntax error in my module (doh). I’m now trying to access redash’s
execute_query() function from within my module, and I’m getting:
Error running query: <type 'exceptions.NameError'> global name 'execute_query' is not defined
I figure I have to import modules from redash to gain access to these functions, but I’m not sure which ones to import. Has anybody tried to accomplish this?
Some background, my module is meant to accept a query, loop through and run the query against 15 datasources, and then return the concatenated results. Any help is greatly appreciated, I’m new to python