From 65b47b62de7ddf2534ec8502b6018b459f6fe479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20H=C3=B6ning?= Date: Sun, 28 Aug 2022 23:39:25 +0200 Subject: [PATCH] do not require to-be-deprecated CLI parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolas Höning --- flexmeasures/cli/data_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flexmeasures/cli/data_add.py b/flexmeasures/cli/data_add.py index 7cc87e8fa..6ced8d215 100755 --- a/flexmeasures/cli/data_add.py +++ b/flexmeasures/cli/data_add.py @@ -796,7 +796,7 @@ def create_forecasts( "--optimization-context-id", "optimization_context_sensor", type=SensorIdField(), - required=True, + required=False, help="To be deprecated. Use consumption-price-sensor instead.", ) @click.option(