From 9f8e4c50e410d8ffec0e4adb2ada15a937306a13 Mon Sep 17 00:00:00 2001 From: Jin Igarashi Date: Fri, 26 Apr 2024 17:44:10 +0900 Subject: [PATCH] fix: changed threshold data type from float to int --- src/cogserver/algorithms/rca.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogserver/algorithms/rca.py b/src/cogserver/algorithms/rca.py index 943311c..2e78c65 100644 --- a/src/cogserver/algorithms/rca.py +++ b/src/cogserver/algorithms/rca.py @@ -20,7 +20,7 @@ class RapidChangeAssessment(BaseAlgorithm): """Rapid change assessment.""" # parameters - threshold: float = Field( + threshold: int = Field( default=10, ge=10, le=100, title="Threshold", unit="%",