From d038c0edbbf0f14a2c2d25b5f8e3ab9da08683c7 Mon Sep 17 00:00:00 2001 From: Sebastiaan la Fleur Date: Fri, 13 Sep 2024 11:29:17 +0200 Subject: [PATCH] 97: Update SDK to use protocol changes to duration parameter and add new duration parameter fields minimum and maximum to example workflow config json. --- config/workflow_config_example.json | 6 ++++-- example_sdk_client/requirements.txt | 2 +- system_tests/requirements.txt | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config/workflow_config_example.json b/config/workflow_config_example.json index 351c8ba..640ff5c 100644 --- a/config/workflow_config_example.json +++ b/config/workflow_config_example.json @@ -65,8 +65,10 @@ { "parameter_type": "duration", "key_name": "duration_example_with_default", - "description": "The default is in milliseconds.", - "default": 3000 + "description": "The default is in seconds.", + "default": 900.0, + "minimum": 0.0, + "maximum": 1500.0 } ] } diff --git a/example_sdk_client/requirements.txt b/example_sdk_client/requirements.txt index d41fb6c..cfa9729 100644 --- a/example_sdk_client/requirements.txt +++ b/example_sdk_client/requirements.txt @@ -1 +1 @@ -omotes_sdk_python==3.1.0 +omotes_sdk_python==3.1.2 diff --git a/system_tests/requirements.txt b/system_tests/requirements.txt index a3a58af..1e1f0ad 100644 --- a/system_tests/requirements.txt +++ b/system_tests/requirements.txt @@ -1,4 +1,4 @@ -omotes_sdk_python==3.1.0 +omotes_sdk_python==3.1.2 pytest ~= 8.1.2 pytest-timeout xmltodict ~= 0.13.0