Ejemplo n.º 1
0
def read_number_active_customers():
    response = SingleItemResponse(connection,
                                  q.query_active_customers)
    result = response.fetch_result()
    return result
Ejemplo n.º 2
0
def read_customers_lost_last_month():
    response = SingleItemResponse(connection,
                                  q.query_customers_lost_last_month)
    result = response.fetch_result()
    return result