from iss4e.db import influxdb
from iss4e.util.config import load_config

import module_locator

config = load_config(module_locator.module_path())

with influxdb.connect(**config["webike.influx"]) as client:
    for imei in range(1000):
        client.query("SELECT * INTO benchmarks..webike FROM webike..webike_benchmarking where imei='{imei}' group by imei".format(imei=str(imei).zfill(4)))

f8e998a9304d475dd753e92fcf6f0c7cfb531147
<mask token>

<mask token>
with influxdb.connect(**config['webike.influx']) as client:
    for imei in range(1000):
        client.query(
            "SELECT * INTO benchmarks..webike FROM webike..webike_benchmarking where imei='{imei}' group by imei"
            .format(imei=str(imei).zfill(4)))

<mask token>
config = load_config(module_locator.module_path())
with influxdb.connect(**config['webike.influx']) as client:
    for imei in range(1000):
        client.query(
            "SELECT * INTO benchmarks..webike FROM webike..webike_benchmarking where imei='{imei}' group by imei"
            .format(imei=str(imei).zfill(4)))

from iss4e.db import influxdb
from iss4e.util.config import load_config
import module_locator
config = load_config(module_locator.module_path())
with influxdb.connect(**config['webike.influx']) as client:
    for imei in range(1000):
        client.query(
            "SELECT * INTO benchmarks..webike FROM webike..webike_benchmarking where imei='{imei}' group by imei"
            .format(imei=str(imei).zfill(4)))

from iss4e.db import influxdb
from iss4e.util.config import load_config

import module_locator

config = load_config(module_locator.module_path())

with influxdb.connect(**config["webike.influx"]) as client:
    for imei in range(1000):
        client.query("SELECT * INTO benchmarks..webike FROM webike..webike_benchmarking where imei='{imei}' group by imei".format(imei=str(imei).zfill(4)))
