add optional param in the schema. first step

ref #22
This commit is contained in:
gwen 2024-07-06 14:49:54 +02:00 committed by Emmanuel Garette
parent 7fcf5d6fc9
commit 9d1783f344

View file

@ -369,6 +369,7 @@ class VariableCalculation(Calculation):
variable: StrictStr variable: StrictStr
propertyerror: bool = True propertyerror: bool = True
allow_none: bool = False allow_none: bool = False
optional: bool = False
def get_params(self, def get_params(self,
objectspace, objectspace,