From c125b0d1debe575085739bb3e65c0337d89dd3e3 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 333a028fe..ff1eb85a1 100644 --- a/src/rougail/object_model.py +++ b/src/rougail/object_model.py @@ -398,6 +398,7 @@ class _VariableCalculation(Calculation): variable: StrictStr propertyerror: bool = True allow_none: bool = False + optional: bool = False def get_variable(self, objectspace,