From ce90afeab5a4bf1a00e9306a52316445558d38d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Jedlicska?= Date: Wed, 20 Sep 2023 14:34:25 +0200 Subject: [PATCH] feat: its not a list only if i say that is not a list, its not enought to think it shouldn't be --- main.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index c5723cd..d097b50 100644 --- a/main.py +++ b/main.py @@ -21,7 +21,13 @@ class FunctionInputs(AutomateBase): ttps://docs.pydantic.dev/latest/usage/models/ """ - forbidden_speckle_type: list[str] = Field(title="Forbidden speckle type") + forbidden_speckle_type: str = Field( + title="Forbidden speckle type", + description=( + "If a object has the following speckle_type," + " it will be marked with an error." + ), + ) def automate_function(