Skip to content

Commit

Permalink
update TODOs, the client is not the right way here actually
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
  • Loading branch information
nhoening committed Nov 5, 2023
1 parent 886821b commit cbea6f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ci/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
import tqdm
import click

# TODO: do not use CLI, but the client (ask for credentials from input)
# from flexmeasures_client import Client as FlexMeasuresClient
# TODO: do not use CLI, but address the underlying functions directly

from flexmeasures.data.schemas import DurationField, AwareDateTimeField

Expand Down Expand Up @@ -48,7 +47,7 @@ def benchmark(iterations, sensors, start, duration):
sensor_ids = " ".join([f"--sensor-id {sensor_id}" for sensor_id in sensors])
commands = [
f"flexmeasures show beliefs {sensor_ids} --start {start_str} --duration {duration_str}",
# TODO: add a scheduling operation (wait for result)
# TODO: add a scheduling operation (wait for result, no queue)
]

print("I'll be running:")
Expand Down

0 comments on commit cbea6f2

Please sign in to comment.