#NEWLINE# @ base . apimethod #NEWLINE# def sql( self , q ) : #NEWLINE# #INDENT# '\n        SQL request to the CartoDB account\n\n        :var q: The sql query\n        :vartype q: str\n        ' #NEWLINE# params = base . get_params ( None , locals ( ) ) #NEWLINE# url = '{0}/{1}' . format ( self . get_url ( ) , 'sql' ) #NEWLINE# return ( http . Request ( 'POST' , url , url ) , parsers . parse_json )