
from .query_editor import QuerySpecification
from .query_executor import AdsReportFetcher


def get_customer_ids(ads_client, customer_id):
    query = """
    SELECT customer_client.id FROM customer_client
    WHERE customer_client.manager = FALSE
    """
    query_specification = QuerySpecification(query).generate()
    report_fetcher = AdsReportFetcher(ads_client)
    return report_fetcher.fetch(query_specification, customer_id)


from .query_editor import QuerySpecification
from .query_executor import AdsReportFetcher


def get_customer_ids(ads_client, customer_id):
    query = """
    SELECT customer_client.id FROM customer_client
    WHERE customer_client.manager = FALSE
    """
    query_specification = QuerySpecification(query).generate()
    report_fetcher = AdsReportFetcher(ads_client, customer_id)
    return report_fetcher.fetch(query_specification)

Fix incorrect signature for get_customer_ids function
Fix incorrect signature for get_customer_ids function

Change-Id: Ib44af3ac6437ad9fa4cbfd9fda9b055b7eff4547

  
  from .query_editor import QuerySpecification
  from .query_executor import AdsReportFetcher
  
  
  def get_customer_ids(ads_client, customer_id):
      query = """
      SELECT customer_client.id FROM customer_client
      WHERE customer_client.manager = FALSE
      """
      query_specification = QuerySpecification(query).generate()
-     report_fetcher = AdsReportFetcher(ads_client)
+     report_fetcher = AdsReportFetcher(ads_client, customer_id)
-     return report_fetcher.fetch(query_specification, customer_id)
+     return report_fetcher.fetch(query_specification)
  
Fix incorrect signature for get_customer_ids function
## Code Before:

from .query_editor import QuerySpecification
from .query_executor import AdsReportFetcher


def get_customer_ids(ads_client, customer_id):
    query = """
    SELECT customer_client.id FROM customer_client
    WHERE customer_client.manager = FALSE
    """
    query_specification = QuerySpecification(query).generate()
    report_fetcher = AdsReportFetcher(ads_client)
    return report_fetcher.fetch(query_specification, customer_id)

## Instruction:
Fix incorrect signature for get_customer_ids function
## Code After:

from .query_editor import QuerySpecification
from .query_executor import AdsReportFetcher


def get_customer_ids(ads_client, customer_id):
    query = """
    SELECT customer_client.id FROM customer_client
    WHERE customer_client.manager = FALSE
    """
    query_specification = QuerySpecification(query).generate()
    report_fetcher = AdsReportFetcher(ads_client, customer_id)
    return report_fetcher.fetch(query_specification)
