class_docstr: The Sendinblue Email Campaigns Table implementation
class_docstr_tok: ["The","Sendinblue","Email","Campaigns","Table","implementation"]
docstr: Pulls data from the Sendinblue "GET /emailCampaigns" API endpoint.
  
  Parameters
  ----------
  query : ast.Select
     Given SQL SELECT query
  
  Returns
  -------
  pd.DataFrame
      Sendinblue Email Campaigns matching the query
  
  Raises
  ------
  ValueError
      If the query contains an unsupported condition
docstr_tok: ["Pulls","data","from","the","Sendinblue","``","GET","\/emailCampaigns","''","API","endpoint",".","Parameters","--","--","--","--","--","query",":","ast.Select","Given","SQL","SELECT","query","Returns","--","--","--","-","pd.DataFrame","Sendinblue","Email","Campaigns","matching","the","query","Raises","--","--","--","ValueError","If","the","query","contains","an","unsupported","condition"]
code: def select(self, query: ast.Select) -> pd.DataFrame:
      """Pulls data from the Sendinblue "GET /emailCampaigns" API endpoint.
  
      Parameters
      ----------
      query : ast.Select
         Given SQL SELECT query
  
      Returns
      -------
      pd.DataFrame
          Sendinblue Email Campaigns matching the query
  
      Raises
      ------
      ValueError
          If the query contains an unsupported condition
      """
  
      select_statement_parser = SELECTQueryParser(
          query, "email_campaigns", self.get_columns()
      )
      (
          selected_columns,
          where_conditions,
          order_by_conditions,
          result_limit,
      ) = select_statement_parser.parse_query()
  
      email_campaigns_df = pd.json_normalize(
          self.get_email_campaigns(limit=result_limit)
      )
  
      select_statement_executor = SELECTQueryExecutor(
          email_campaigns_df,
          selected_columns,
          where_conditions,
          order_by_conditions,
      )
      email_campaigns_df = select_statement_executor.execute_query()
  
      return email_campaigns_df
  
file_path: mindsdb/mindsdb/integrations/handlers/sendinblue_handler/sendinblue_tables.py
imports: import sib_api_v3_sdk
  import pandas
  from typing import List, Optional, Dict
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb_sql.parser import ast
  from sib_api_v3_sdk.rest import ApiException
  from datetime import datetime
  from mindsdb.integrations.handlers.utilities.query_utilities import SELECTQueryParser, SELECTQueryExecutor, UPDATEQueryExecutor, UPDATEQueryParser, DELETEQueryParser, DELETEQueryExecutor
label_desc: Use image node_id 1 for calling the EmailCampaignsTable obj's underlying member method code with example usage: obj.select(query) and returns: email_campaigns_df