From 9d1783f34470d144d82a805b71de4cca75348c42 Mon Sep 17 00:00:00 2001 From: gwen Date: Sat, 6 Jul 2024 14:49:54 +0200 Subject: [PATCH] add optional param in the schema. first step ref #22 --- src/rougail/object_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rougail/object_model.py b/src/rougail/object_model.py index 03f429cbd..cab67681d 100644 --- a/src/rougail/object_model.py +++ b/src/rougail/object_model.py @@ -369,6 +369,7 @@ class VariableCalculation(Calculation): variable: StrictStr propertyerror: bool = True allow_none: bool = False + optional: bool = False def get_params(self, objectspace,