code: def get_list_continuous_queries(self):
          
          query_string = "SHOW CONTINUOUS QUERIES"
          return [{sk[0]: list(p)} for sk, p in self.query(query_string).items()]
docs: Get the list of continuous queries in InfluxDB.
  
          :return: all CQs in InfluxDB
          :rtype: list of dictionaries
  
          :Example:
  
          ::
  
              >> cqs = client.get_list_cqs()
              >> cqs
              [
                  {
                      u'db1': []
                  },
                  {
                      u'db2': [
                          {
                              u'name': u'vampire',
                              u'query': u'CREATE CONTINUOUS QUERY vampire ON '
                                         'mydb BEGIN SELECT count(dracula) INTO '
                                         'mydb.autogen.all_of_them FROM '
                                         'mydb.autogen.one GROUP BY time(5m) END'
                          }
                      ]
                  }
              ]