simplify tiramisureflector

This commit is contained in:
Emmanuel Garette 2021-01-24 18:50:24 +01:00
parent 28ba5ef8ff
commit 001a3131d5
84 changed files with 125 additions and 134 deletions

3
FIXME
View File

@ -1,2 +1,5 @@
default avec quote
values avec quote
informations avec quote (help)
param value avec quote
suffix avec quote dans param ?

View File

@ -56,7 +56,7 @@ class TiramisuReflector:
self.set_name(baseelt)
basefamily = Family(baseelt,
self.text,
False,
self.objectspace,
)
for elt in self.reorder_family():
self.populate_family(basefamily,
@ -87,7 +87,7 @@ class TiramisuReflector:
self.set_name(elt)
family = Family(elt,
self.text,
isinstance(elt, self.objectspace.leadership),
self.objectspace,
)
parent_family.add(family)
for children in vars(elt).values():
@ -134,10 +134,12 @@ class Common:
def __init__(self,
elt,
text,
objectspace,
):
self.elt = elt
self.option_name = None
self.text = text
self.objectspace = objectspace
self.elt.reflector_object = self
self.object_type = None
@ -153,17 +155,13 @@ class Common:
def populate_attrib(self):
"""Populate attributes
"""
keys = {}
keys['name'] = self.convert_str(self.elt.name)
keys = {'name': self.convert_str(self.elt.name)}
if hasattr(self.elt, 'doc'):
keys['doc'] = self.convert_str(self.elt.doc)
self._populate_attrib(keys)
if hasattr(self.elt, 'properties'):
keys['properties'] = self.properties_to_string(self.elt.properties)
ret_list = []
for key, value in keys.items():
ret_list.append(f'{key}={value}')
attrib = ', '.join(ret_list)
attrib = ', '.join([f'{key}={value}' for key, value in keys.items()])
self.text.append(f'{self.option_name} = {self.object_type}({attrib})')
def _populate_attrib(self,
@ -178,31 +176,25 @@ class Common:
return "'" + value.replace("'", "\\\'") + "'"
def properties_to_string(self,
value: list,
values: list,
) -> None:
"""Change properties to string
"""
properties = []
calc_properties = []
for property_ in value:
if not isinstance(property_, str):
calc_properties.append(self.populate_properties(property_))
else:
properties.append(f"'{property_}'")
properties = [f"'{property_}'" for property_ in values if isinstance(property_, str)]
calc_properties = [self.calc_properties(property_) for property_ in values \
if isinstance(property_, self.objectspace.property_)]
return 'frozenset({' + ', '.join(sorted(properties) + calc_properties) + '})'
@staticmethod
def populate_properties(child) -> str:
def calc_properties(child) -> str:
"""Populate properties
"""
assert child.type == 'calculation'
action = f"ParamValue('{child.name}')"
option_name = child.source.reflector_object.get()
kwargs = (f"'condition': ParamOption({option_name}, todict=True), "
f"'expected': ParamValue('{child.expected}')")
if child.inverse:
kwargs += ", 'reverse_condition': ParamValue(True)"
return 'Calculation(calc_value, Params(' + action + ', kwargs={' + kwargs + '}))'
return f"Calculation(calc_value, Params(ParamValue('{child.name}'), kwargs={{{kwargs}}}))"
def populate_informations(self):
"""Populate Tiramisu's informations
@ -213,8 +205,8 @@ class Common:
if key == 'xmlfiles':
continue
if isinstance(value, str):
value = '"' + value.replace('"', '\"') + '"'
self.text.append(f'{self.option_name}.impl_set_information("{key}", {value})')
value = self.convert_str(value)
self.text.append(f"{self.option_name}.impl_set_information('{key}', {value})")
class Variable(Common):
@ -225,10 +217,8 @@ class Variable(Common):
text,
objectspace,
):
super().__init__(elt, text)
self.objectspace = objectspace
convert_option = CONVERT_OPTION[elt.type]
self.object_type = convert_option['opttype']
super().__init__(elt, text, objectspace)
self.object_type = CONVERT_OPTION[elt.type]['opttype']
def _populate_attrib(self,
keys: dict,
@ -238,8 +228,8 @@ class Variable(Common):
if hasattr(self.elt, 'values'):
values = self.elt.values
if values[0].type == 'calculation':
values = values[0].name.reflector_object.get()
keys['values'] = f"Calculation(func.calc_value, Params((ParamOption({values}))))"
value = values[0].name.reflector_object.get()
keys['values'] = f"Calculation(func.calc_value, Params((ParamOption({value}))))"
else:
keys['values'] = str(tuple([val.name for val in values]))
if hasattr(self.elt, 'multi') and self.elt.multi:
@ -292,18 +282,14 @@ class Variable(Common):
"""Populate variable parameters
"""
if param.type == 'string':
return f'ParamValue("{param.text}")'
value = param.text
if value is not None:
value = self.convert_str(value)
return f"ParamValue({value})"
if param.type == 'number':
return f'ParamValue({param.text})'
if param.type == 'variable':
value = {'option': param.text,
'notraisepropertyerror': param.notraisepropertyerror,
'todict': function in FUNC_TO_DICT,
}
if hasattr(param, 'suffix'):
value['suffix'] = param.suffix
value['family'] = param.family
return self.build_param(value)
return self.build_param(param, function)
if param.type == 'information':
return f'ParamInformation("{param.text}", None)'
if param.type == 'suffix':
@ -311,14 +297,17 @@ class Variable(Common):
return '' # pragma: no cover
@staticmethod
def build_param(param) -> str:
def build_param(param,
function: str,
) -> str:
"""build variable parameters
"""
option_name = param['option'].reflector_object.get()
ends = f"notraisepropertyerror={param['notraisepropertyerror']}, todict={param['todict']})"
if 'suffix' in param:
family_name = param['family'].reflector_name
return f"ParamDynOption({option_name}, '{param['suffix']}', {family_name}, {ends}"
option_name = param.text.reflector_object.get()
todict = function in FUNC_TO_DICT
ends = f"notraisepropertyerror={param.notraisepropertyerror}, todict={todict})"
if hasattr(param, 'suffix'):
family_name = param.family.reflector_name
return f"ParamDynOption({option_name}, '{param.suffix}', {family_name}, {ends}"
return f"ParamOption({option_name}, {ends}"
@ -328,13 +317,12 @@ class Family(Common):
def __init__(self,
elt,
text,
is_leadership
objectspace,
):
super().__init__(elt, text)
self.is_leadership = is_leadership
super().__init__(elt, text, objectspace)
if hasattr(self.elt, 'suffixes'):
self.object_type = 'ConvertDynOptionDescription'
elif self.is_leadership:
elif isinstance(self.elt, self.objectspace.leadership):
self.object_type = 'Leadership'
else:
self.object_type = 'OptionDescription'

View File

@ -13,6 +13,6 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_2 = OptionDescription(name='tata', doc='tata', children=[])
option_2.impl_set_information("manage", True)
option_2.impl_set_information('manage', True)
option_1 = OptionDescription(name='services', doc='services', children=[option_2], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -13,7 +13,7 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='module_instancie', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_4 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.calc_val, Params((ParamValue("oui")))), properties=frozenset({'auto_freeze', 'basic', 'force_store_value', 'frozen', 'hidden', Calculation(calc_value, Params(ParamValue('auto_frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}))
option_4 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.calc_val, Params((ParamValue('oui')))), properties=frozenset({'auto_freeze', 'basic', 'force_store_value', 'frozen', 'hidden', Calculation(calc_value, Params(ParamValue('auto_frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3, option_4], properties=frozenset({'basic'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -25,6 +25,6 @@ option_14 = BoolOption(name='activate', doc='activate', default=True)
option_7 = OptionDescription(name='file', doc='file', children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14])
option_6 = OptionDescription(name='files', doc='files', children=[option_7])
option_5 = OptionDescription(name='test', doc='test', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -25,6 +25,6 @@ option_14 = BoolOption(name='activate', doc='activate', default=True)
option_7 = OptionDescription(name='file', doc='file', children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14])
option_6 = OptionDescription(name='files', doc='files', children=[option_7])
option_5 = OptionDescription(name='test', doc='test', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -25,6 +25,6 @@ option_14 = BoolOption(name='activate', doc='activate', default=True)
option_7 = OptionDescription(name='systemd_makefs@dev_disk_by\\x2dpartlabel', doc='systemd-makefs@dev-disk-by\\x2dpartlabel', children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14])
option_6 = OptionDescription(name='files', doc='files', children=[option_7])
option_5 = OptionDescription(name='test', doc='test', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -13,7 +13,7 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='module_instancie', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_4 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.calc_val, Params((ParamValue("oui")))), properties=frozenset({'auto_freeze', 'basic', 'force_store_value', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('auto_frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}))
option_4 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.calc_val, Params((ParamValue('oui')))), properties=frozenset({'auto_freeze', 'basic', 'force_store_value', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('auto_frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3, option_4], properties=frozenset({'basic'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -13,7 +13,7 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='mode_conteneur_actif', default='non', properties=frozenset({'mandatory', 'normal'}))
option_3.impl_set_information("test", ('test',))
option_3.impl_set_information('test', ('test',))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -13,7 +13,7 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='mode_conteneur_actif', default='non', properties=frozenset({'mandatory', 'normal'}))
option_3.impl_set_information("test", ('test1', 'test2'))
option_3.impl_set_information('test', ('test1', 'test2'))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -13,7 +13,7 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='mode_conteneur_actif', default='non', properties=frozenset({'mandatory', 'normal'}))
option_3.impl_set_information("test", (None, 'test1', 'test2'))
option_3.impl_set_information('test', (None, 'test1', 'test2'))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -13,7 +13,7 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='mode_conteneur_actif', default='non', properties=frozenset({'mandatory', 'normal'}))
option_3.impl_set_information("test", ('test1',))
option_3.impl_set_information('test', ('test1',))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -13,7 +13,7 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}))
option_4 = StrOption(name='autosavevar', doc='autosave variable', default=Calculation(func.calc_val, Params((ParamValue("oui")))), properties=frozenset({'basic', 'force_store_value', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}))
option_4 = StrOption(name='autosavevar', doc='autosave variable', default=Calculation(func.calc_val, Params((ParamValue('oui')))), properties=frozenset({'basic', 'force_store_value', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}))
option_2 = OptionDescription(name='general', doc='général', children=[option_3, option_4], properties=frozenset({'basic'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -13,7 +13,7 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}))
option_4 = StrOption(name='autosavevar', doc='autosave variable', default=Calculation(func.calc_val, Params((ParamValue("oui")))), properties=frozenset({'basic', 'force_store_value', 'frozen', 'hidden'}))
option_4 = StrOption(name='autosavevar', doc='autosave variable', default=Calculation(func.calc_val, Params((ParamValue('oui')))), properties=frozenset({'basic', 'force_store_value', 'frozen', 'hidden'}))
option_2 = OptionDescription(name='general', doc='général', children=[option_3, option_4], properties=frozenset({'basic'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -14,7 +14,7 @@ except:
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='b', properties=frozenset({'mandatory', 'normal'}))
option_4 = IntOption(name='int2', doc='No change', default=100, properties=frozenset({'mandatory', 'normal'}))
option_5 = IntOption(name='int', doc='No change', validators=[Calculation(func.valid_lower, Params((ParamSelfOption()), kwargs={'mini': ParamValue("0"), 'maxi': ParamOption(option_4, notraisepropertyerror=False, todict=False)}), warnings_only=False)], properties=frozenset({'normal'}))
option_5 = IntOption(name='int', doc='No change', validators=[Calculation(func.valid_lower, Params((ParamSelfOption()), kwargs={'mini': ParamValue('0'), 'maxi': ParamOption(option_4, notraisepropertyerror=False, todict=False)}), warnings_only=False)], properties=frozenset({'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3, option_4, option_5], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_6 = StrOption(name='leader', doc='leader', multi=True)
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal'}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_7, notraisepropertyerror=False, todict=False)))), properties=frozenset({'normal'}))
option_9 = StrOption(name='follower3', doc='follower3', multi=True, properties=frozenset({'normal'}))
option_5 = Leadership(name='leader', doc='leader', children=[option_6, option_7, option_8, option_9], properties=frozenset({'normal'}))

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_6 = StrOption(name='leader', doc='leader', multi=True, properties=frozenset({'force_default_on_freeze', 'frozen'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'force_default_on_freeze', 'frozen', 'normal'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'force_default_on_freeze', 'frozen', 'normal'}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_7, notraisepropertyerror=False, todict=False)))), properties=frozenset({'force_default_on_freeze', 'frozen', 'normal'}))
option_9 = StrOption(name='follower3', doc='follower3', multi=True, properties=frozenset({'force_default_on_freeze', 'frozen', 'normal'}))
option_5 = Leadership(name='leader', doc='leader', children=[option_6, option_7, option_8, option_9], properties=frozenset({'hidden', 'normal'}))

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_6 = StrOption(name='leader', doc='leader', multi=True)
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal'}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_7, notraisepropertyerror=False, todict=False)))), properties=frozenset({'normal'}))
option_9 = StrOption(name='follower3', doc='follower3', multi=True, properties=frozenset({'normal'}))
option_5 = Leadership(name='leadership', doc='leadership', children=[option_6, option_7, option_8, option_9], properties=frozenset({'normal'}))

View File

@ -14,7 +14,7 @@ except:
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_5 = StrOption(name='leader', doc='leader', multi=True)
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_7 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_6, notraisepropertyerror=False, todict=False)))), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_8 = StrOption(name='follower3', doc='follower3', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_5, notraisepropertyerror=False, todict=False)))), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_4 = Leadership(name='leader', doc='leader', children=[option_5, option_6, option_7, option_8], properties=frozenset({'normal'}))

View File

@ -14,7 +14,7 @@ except:
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_5 = StrOption(name='leader', doc='leader', multi=True)
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_7 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_5, notraisepropertyerror=False, todict=False)))), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_4 = Leadership(name='leader', doc='leader', children=[option_5, option_6, option_7], properties=frozenset({'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3, option_4], properties=frozenset({'normal'}))

View File

@ -14,7 +14,7 @@ except:
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'expert'}))
option_6 = StrOption(name='leader', doc='leader', multi=True, default=Calculation(func.calc_list, Params((), kwargs={'valeur': ParamValue("valfill")})))
option_6 = StrOption(name='leader', doc='leader', multi=True, default=Calculation(func.calc_list, Params((), kwargs={'valeur': ParamValue('valfill')})))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, properties=frozenset({'expert'}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, properties=frozenset({'expert'}))
option_5 = Leadership(name='leader', doc='leader', children=[option_6, option_7, option_8], properties=frozenset({'expert'}))

View File

@ -14,7 +14,7 @@ except:
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_5 = StrOption(name='leader', doc='leader', multi=True)
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal'}))
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal'}))
option_7 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_6, notraisepropertyerror=False, todict=False)))), properties=frozenset({'expert'}))
option_4 = Leadership(name='leader', doc='leader', children=[option_5, option_6, option_7], properties=frozenset({'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3, option_4], properties=frozenset({'normal'}))

View File

@ -14,7 +14,7 @@ except:
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_5 = StrOption(name='leader', doc='leader', multi=True)
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal'}))
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal'}))
option_7 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_6, notraisepropertyerror=False, todict=False)))), properties=frozenset({'normal'}))
option_4 = Leadership(name='leader', doc='leader', children=[option_5, option_6, option_7], properties=frozenset({'normal'}))
option_2 = OptionDescription(name='general', doc='Général', children=[option_3, option_4], properties=frozenset({'normal'}))

View File

@ -14,7 +14,7 @@ except:
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'expert'}))
option_6 = StrOption(name='leader', doc='leader', multi=True, default=Calculation(func.calc_list, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'force_default_on_freeze', 'frozen'}))
option_6 = StrOption(name='leader', doc='leader', multi=True, default=Calculation(func.calc_list, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'force_default_on_freeze', 'frozen'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, properties=frozenset({'force_default_on_freeze', 'frozen', 'normal'}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, properties=frozenset({'force_default_on_freeze', 'frozen', 'normal'}))
option_5 = Leadership(name='leader', doc='leader', children=[option_6, option_7, option_8], properties=frozenset({'hidden', 'normal'}))

View File

@ -14,7 +14,7 @@ except:
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_5 = StrOption(name='leader', doc='leader', multi=True, properties=frozenset({'mandatory'}))
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal'}))
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal'}))
option_7 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_6, notraisepropertyerror=False, todict=False)))), properties=frozenset({'normal'}))
option_4 = Leadership(name='leader', doc='leader', children=[option_5, option_6, option_7], properties=frozenset({'basic'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3, option_4], properties=frozenset({'basic'}))

View File

@ -14,7 +14,7 @@ except:
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_5 = StrOption(name='leader', doc='leader', multi=True)
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'mandatory', 'normal'}))
option_6 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'mandatory', 'normal'}))
option_7 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_6, notraisepropertyerror=False, todict=False)))), properties=frozenset({'normal'}))
option_4 = Leadership(name='leader', doc='leader', children=[option_5, option_6, option_7], properties=frozenset({'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3, option_4], properties=frozenset({'normal'}))

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_6 = StrOption(name='leader', doc='leader', multi=True)
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal'}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_7, notraisepropertyerror=False, todict=False)))), properties=frozenset({'normal'}))
option_5 = Leadership(name='leader', doc='leader', children=[option_6, option_7, option_8], properties=frozenset({'normal'}))
option_10 = StrOption(name='leader1', doc='leader', multi=True)

View File

@ -13,7 +13,7 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='condition', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_4 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.calc_val, Params((ParamValue("non")))), properties=frozenset({'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}))
option_4 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.calc_val, Params((ParamValue('non')))), properties=frozenset({'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}))
option_5 = StrOption(name='mode_conteneur_actif2', doc='No change', default='non', properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3, option_4, option_5], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_6 = StrOption(name='leader', doc='leader', multi=True)
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal'}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_7, notraisepropertyerror=False, todict=False)))), properties=frozenset({'normal'}))
option_5 = Leadership(name='leader', doc='leader', children=[option_6, option_7, option_8], properties=frozenset({'normal'}))
option_4 = OptionDescription(name='general1', doc='general1', children=[option_5], properties=frozenset({'normal'}))

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_6 = StrOption(name='leader', doc='leader', multi=True)
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal'}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_7, notraisepropertyerror=False, todict=False)))), properties=frozenset({'normal'}))
option_5 = Leadership(name='leader', doc='other description', children=[option_6, option_7, option_8], properties=frozenset({'normal'}))
option_4 = OptionDescription(name='general1', doc='general1', children=[option_5], properties=frozenset({'normal'}))

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_6 = StrOption(name='leader', doc='leader', multi=True)
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal'}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_7, notraisepropertyerror=False, todict=False)))), properties=frozenset({'normal'}))
option_5 = Leadership(name='other_name', doc='other_name', children=[option_6, option_7, option_8], properties=frozenset({'normal'}))
option_4 = OptionDescription(name='general1', doc='general1', children=[option_5], properties=frozenset({'normal'}))

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_6 = StrOption(name='leader', doc='leader', multi=True)
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal'}))
option_8 = StrOption(name='follower2', doc='follower2', multi=submulti, default=Calculation(func.calc_val, Params((ParamOption(option_7, notraisepropertyerror=False, todict=False)))), properties=frozenset({'normal'}))
option_5 = Leadership(name='leader', doc='leader', children=[option_6, option_7, option_8], properties=frozenset({'normal'}))
option_4 = OptionDescription(name='general1', doc='general1', children=[option_5], properties=frozenset({'normal'}))

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'expert'}))
option_5 = ChoiceOption(name='enumvar', doc='multi', values=('a', 'b', 'c', 'é'), default='c', properties=frozenset({'expert', 'mandatory'}))
option_5.impl_set_information("help", "bla bla bla")
option_5.impl_set_information('help', 'bla bla bla')
option_4 = OptionDescription(name='enumfam', doc='enumfam', children=[option_5], properties=frozenset({'expert'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2, option_4])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'expert'}))
option_5 = ChoiceOption(name='enumvar', doc='multi', values=('a', 'b', 'c'), default='c', properties=frozenset({'expert', 'mandatory'}))
option_5.impl_set_information("help", "bla bla bla")
option_5.impl_set_information('help', 'bla bla bla')
option_4 = OptionDescription(name='enumfam', doc='enumfam', children=[option_5], properties=frozenset({'expert'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2, option_4])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -16,7 +16,7 @@ option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non'
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'expert'}))
option_5 = ChoiceOption(name='enumvar2', doc='multi', values=('a', 'b', 'c'), default='c', properties=frozenset({'expert', 'mandatory'}))
option_6 = ChoiceOption(name='enumvar', doc='multi', values=('a', 'c'), default='c', properties=frozenset({'expert', 'mandatory'}))
option_6.impl_set_information("help", "bla bla bla")
option_6.impl_set_information('help', 'bla bla bla')
option_4 = OptionDescription(name='enumfam', doc='enumfam', children=[option_5, option_6], properties=frozenset({'expert'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2, option_4])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'expert'}))
option_5 = ChoiceOption(name='enumvar', doc='multi', values=('a', 'b', None), default='b', properties=frozenset({'expert', 'mandatory'}))
option_5.impl_set_information("help", "bla bla bla")
option_5.impl_set_information('help', 'bla bla bla')
option_4 = OptionDescription(name='enumfam', doc='enumfam', children=[option_5], properties=frozenset({'expert'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2, option_4])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'expert'}))
option_5 = ChoiceOption(name='enumvar', doc='enumvar', values=(1, 2, 3), default=1, properties=frozenset({'expert', 'mandatory'}))
option_5.impl_set_information("help", "bla bla bla")
option_5.impl_set_information('help', 'bla bla bla')
option_4 = OptionDescription(name='enumfam', doc='enumfam', children=[option_5], properties=frozenset({'expert'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2, option_4])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'expert'}))
option_5 = ChoiceOption(name='enumvar', doc='enumvar', values=(1, 2, 3), default=3, properties=frozenset({'expert', 'mandatory'}))
option_5.impl_set_information("help", "bla bla bla")
option_5.impl_set_information('help', 'bla bla bla')
option_4 = OptionDescription(name='enumfam', doc='enumfam', children=[option_5], properties=frozenset({'expert'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2, option_4])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'expert'}))
option_5 = ChoiceOption(name='enumvar', doc='multi', values=(None,), properties=frozenset({'expert', 'mandatory'}))
option_5.impl_set_information("help", "bla bla bla")
option_5.impl_set_information('help', 'bla bla bla')
option_4 = OptionDescription(name='enumfam', doc='enumfam', children=[option_5], properties=frozenset({'expert'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2, option_4])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'expert'}))
option_5 = ChoiceOption(name='enumvar', doc='multi', values=(None,), properties=frozenset({'expert', 'mandatory'}))
option_5.impl_set_information("help", "bla bla bla")
option_5.impl_set_information('help', 'bla bla bla')
option_4 = OptionDescription(name='enumfam', doc='enumfam', children=[option_5], properties=frozenset({'expert'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2, option_4])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -27,6 +27,6 @@ option_16 = BoolOption(name='activate', doc='activate', default=True, properties
option_9 = OptionDescription(name='file', doc='file', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16])
option_8 = OptionDescription(name='files', doc='files', children=[option_9])
option_7 = OptionDescription(name='test', doc='test', children=[option_8])
option_7.impl_set_information("manage", True)
option_7.impl_set_information('manage', True)
option_6 = OptionDescription(name='services', doc='services', children=[option_7], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6])

View File

@ -27,6 +27,6 @@ option_16 = BoolOption(name='activate', doc='activate', default=True, properties
option_9 = OptionDescription(name='file', doc='file', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16])
option_8 = OptionDescription(name='files', doc='files', children=[option_9])
option_7 = OptionDescription(name='test', doc='test', children=[option_8])
option_7.impl_set_information("manage", True)
option_7.impl_set_information('manage', True)
option_6 = OptionDescription(name='services', doc='services', children=[option_7], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6])

View File

@ -35,6 +35,6 @@ option_24 = BoolOption(name='activate', doc='activate', default=True, properties
option_17 = OptionDescription(name='file2', doc='file2', children=[option_18, option_19, option_20, option_21, option_22, option_23, option_24])
option_8 = OptionDescription(name='files', doc='files', children=[option_9, option_17])
option_7 = OptionDescription(name='test', doc='test', children=[option_8])
option_7.impl_set_information("manage", True)
option_7.impl_set_information('manage', True)
option_6 = OptionDescription(name='services', doc='services', children=[option_7], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6])

View File

@ -27,6 +27,6 @@ option_16 = BoolOption(name='activate', doc='activate', default=True, properties
option_9 = OptionDescription(name='file', doc='file', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16])
option_8 = OptionDescription(name='files', doc='files', children=[option_9])
option_7 = OptionDescription(name='test', doc='test', children=[option_8])
option_7.impl_set_information("manage", True)
option_7.impl_set_information('manage', True)
option_6 = OptionDescription(name='services', doc='services', children=[option_7], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6])

View File

@ -27,6 +27,6 @@ option_16 = BoolOption(name='activate', doc='activate', default=True, properties
option_9 = OptionDescription(name='file', doc='file', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16])
option_8 = OptionDescription(name='files', doc='files', children=[option_9])
option_7 = OptionDescription(name='test', doc='test', children=[option_8])
option_7.impl_set_information("manage", True)
option_7.impl_set_information('manage', True)
option_6 = OptionDescription(name='services', doc='services', children=[option_7], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6])

View File

@ -27,6 +27,6 @@ option_16 = BoolOption(name='activate', doc='activate', default=True, properties
option_9 = OptionDescription(name='file', doc='file', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16])
option_8 = OptionDescription(name='files', doc='files', children=[option_9])
option_7 = OptionDescription(name='test', doc='test', children=[option_8])
option_7.impl_set_information("manage", True)
option_7.impl_set_information('manage', True)
option_6 = OptionDescription(name='services', doc='services', children=[option_7], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6])

View File

@ -27,6 +27,6 @@ option_16 = BoolOption(name='activate', doc='activate', default=True, properties
option_9 = OptionDescription(name='file', doc='file', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16])
option_8 = OptionDescription(name='files', doc='files', children=[option_9])
option_7 = OptionDescription(name='test', doc='test', children=[option_8])
option_7.impl_set_information("manage", True)
option_7.impl_set_information('manage', True)
option_6 = OptionDescription(name='services', doc='services', children=[option_7], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6])

View File

@ -26,6 +26,6 @@ option_15 = BoolOption(name='activate', doc='activate', default=True, properties
option_8 = OptionDescription(name='file1', doc='file1', children=[option_9, option_10, option_11, option_12, option_13, option_14, option_15])
option_7 = OptionDescription(name='files', doc='files', children=[option_8])
option_6 = OptionDescription(name='test', doc='test', children=[option_7])
option_6.impl_set_information("manage", True)
option_6.impl_set_information('manage', True)
option_5 = OptionDescription(name='services', doc='services', children=[option_6], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_5])

View File

@ -25,6 +25,6 @@ option_14 = BoolOption(name='activate', doc='activate', default=True)
option_7 = OptionDescription(name='file', doc='file', children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14])
option_6 = OptionDescription(name='files', doc='files', children=[option_7])
option_5 = OptionDescription(name='test', doc='test', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -25,6 +25,6 @@ option_14 = BoolOption(name='activate', doc='activate', default=True)
option_7 = OptionDescription(name='test_service', doc='test.service', children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14])
option_6 = OptionDescription(name='overrides', doc='overrides', children=[option_7])
option_5 = OptionDescription(name='test', doc='test', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -12,7 +12,7 @@ try:
except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.calc_val, Params((ParamValue("value")))), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.calc_val, Params((ParamValue('value')))), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -12,7 +12,7 @@ try:
except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.calc_val, Params((ParamValue("value")))), properties=frozenset({'normal'}))
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.calc_val, Params((ParamValue('value')))), properties=frozenset({'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -12,7 +12,7 @@ try:
except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = PortOption(name='toto1', doc='Port d\'écoute du proxy', default=Calculation(func.calc_multi_condition, Params((ParamValue("None")))), allow_private=True, properties=frozenset({'expert'}))
option_3 = PortOption(name='toto1', doc='Port d\'écoute du proxy', default=Calculation(func.calc_multi_condition, Params((ParamValue(None)))), allow_private=True, properties=frozenset({'expert'}))
option_4 = PortOption(name='toto2', doc='Port d\'écoute du proxy NTLM', default='3127', allow_private=True, properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='proxy_authentifie', doc='proxy authentifié', children=[option_3, option_4], properties=frozenset({'expert'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])

View File

@ -12,7 +12,7 @@ try:
except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = PortOption(name='toto1', doc='Port d\'écoute du proxy', default=Calculation(func.calc_multi_condition, Params((), kwargs={'value': ParamValue("None")})), allow_private=True, properties=frozenset({'expert'}))
option_3 = PortOption(name='toto1', doc='Port d\'écoute du proxy', default=Calculation(func.calc_multi_condition, Params((), kwargs={'value': ParamValue(None)})), allow_private=True, properties=frozenset({'expert'}))
option_4 = PortOption(name='toto2', doc='Port d\'écoute du proxy NTLM', default='3127', allow_private=True, properties=frozenset({'expert', 'mandatory'}))
option_2 = OptionDescription(name='proxy_authentifie', doc='proxy authentifié', children=[option_3, option_4], properties=frozenset({'expert'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_4 = StrOption(name='condition', doc='condition', default='oui', properties=frozenset({'mandatory', 'normal'}))
option_6 = StrOption(name='leader', doc='leader', multi=True, default=['a'], properties=frozenset({'mandatory'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True), 'expected': ParamValue('oui')}))}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True), 'expected': ParamValue('oui')}))}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, properties=frozenset({'normal'}))
option_5 = Leadership(name='leader', doc='leader', children=[option_6, option_7, option_8], properties=frozenset({'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3, option_4, option_5], properties=frozenset({'normal'}))
@ -30,6 +30,6 @@ option_19 = BoolOption(name='activate', doc='activate', default=True)
option_12 = OptionDescription(name='mailname', doc='mailname', children=[option_13, option_14, option_15, option_16, option_17, option_18, option_19])
option_11 = OptionDescription(name='files', doc='files', children=[option_12])
option_10 = OptionDescription(name='test', doc='test', children=[option_11])
option_10.impl_set_information("manage", True)
option_10.impl_set_information('manage', True)
option_9 = OptionDescription(name='services', doc='services', children=[option_10], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_9])

View File

@ -15,7 +15,7 @@ from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non', properties=frozenset({'mandatory', 'normal'}))
option_4 = StrOption(name='condition', doc='condition', default='oui', properties=frozenset({'mandatory', 'normal'}))
option_6 = StrOption(name='leader', doc='leader', multi=True, default=['a', 'b'], properties=frozenset({'mandatory'}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_6, todict=True), 'expected': ParamValue('a')}))}))
option_7 = StrOption(name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue('valfill')})), properties=frozenset({'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_6, todict=True), 'expected': ParamValue('a')}))}))
option_8 = StrOption(name='follower2', doc='follower2', multi=True, properties=frozenset({'normal'}))
option_5 = Leadership(name='leader', doc='leader', children=[option_6, option_7, option_8], properties=frozenset({'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3, option_4, option_5], properties=frozenset({'normal'}))
@ -30,6 +30,6 @@ option_19 = BoolOption(name='activate', doc='activate', default=True)
option_12 = OptionDescription(name='mailname', doc='mailname', children=[option_13, option_14, option_15, option_16, option_17, option_18, option_19])
option_11 = OptionDescription(name='files', doc='files', children=[option_12])
option_10 = OptionDescription(name='test', doc='test', children=[option_11])
option_10.impl_set_information("manage", True)
option_10.impl_set_information('manage', True)
option_9 = OptionDescription(name='services', doc='services', children=[option_10], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_9])

View File

@ -12,7 +12,7 @@ try:
except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue("non")})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue('non')})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -12,7 +12,7 @@ try:
except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue("non")})), properties=frozenset({'normal'}))
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue('non')})), properties=frozenset({'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -12,7 +12,7 @@ try:
except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue("non")})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue('non')})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -12,7 +12,7 @@ try:
except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue("non")})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue('non')})), properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -13,8 +13,8 @@ except:
from tiramisu import *
from rougail.tiramisu import ConvertDynOptionDescription
option_3 = StrOption(name='mode_conteneur_actif', doc='redefine help', default='non', properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}))
option_3.impl_set_information("help", "redefine help ok")
option_3.impl_set_information('help', 'redefine help ok')
option_2 = OptionDescription(name='general', doc='general', children=[option_3], properties=frozenset({'normal'}))
option_2.impl_set_information("help", "redefine help family ok")
option_2.impl_set_information('help', 'redefine help family ok')
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1])

View File

@ -16,7 +16,7 @@ option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non'
option_2 = OptionDescription(name='general', doc='général', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_6 = IntOption(name='delay', doc='délai en minutes avant lancement', default=0, properties=frozenset({'mandatory', 'normal'}))
option_7 = URLOption(name='calc_url', doc='domain', default=Calculation(func.calc_val, Params((ParamValue("http://localhost/")))), allow_ip=True, allow_without_dot=True, properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_7 = URLOption(name='calc_url', doc='domain', default=Calculation(func.calc_val, Params((ParamValue('http://localhost/')))), allow_ip=True, allow_without_dot=True, properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'normal'}))
option_5 = OptionDescription(name='test', doc='test', children=[option_6, option_7], properties=frozenset({'normal'}))
option_4 = OptionDescription(name='extra', doc='extra', children=[option_5])
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -31,6 +31,6 @@ option_20 = BoolOption(name='activate', doc='activate', default=True)
option_13 = OptionDescription(name='mailname', doc='mailname', children=[option_14, option_15, option_16, option_17, option_18, option_19, option_20])
option_12 = OptionDescription(name='files', doc='files', children=[option_13])
option_11 = OptionDescription(name='test', doc='test', children=[option_12])
option_11.impl_set_information("manage", True)
option_11.impl_set_information('manage', True)
option_10 = OptionDescription(name='services', doc='services', children=[option_11], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_5, option_10])

View File

@ -17,8 +17,8 @@ option_4 = StrOption(name='activer_ejabberd', doc='No change', default='non', pr
option_2 = OptionDescription(name='general', doc='général', children=[option_3, option_4], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_7 = StrOption(name='description', doc='description', default='Exportation de la base de ejabberd', properties=frozenset({'mandatory', 'normal'}))
option_8 = ChoiceOption(name='day', doc='day', values=('none', 'daily', 'weekly', 'monthly'), default=Calculation(func.calc_multi_condition, Params((ParamValue("non")), kwargs={'condition_1': ParamOption(option_4, notraisepropertyerror=True, todict=False), 'match': ParamValue("none"), 'mismatch': ParamValue("daily")})), properties=frozenset({'mandatory', 'normal'}))
option_8.impl_set_information("help", "Test help")
option_8 = ChoiceOption(name='day', doc='day', values=('none', 'daily', 'weekly', 'monthly'), default=Calculation(func.calc_multi_condition, Params((ParamValue('non')), kwargs={'condition_1': ParamOption(option_4, notraisepropertyerror=True, todict=False), 'match': ParamValue('none'), 'mismatch': ParamValue('daily')})), properties=frozenset({'mandatory', 'normal'}))
option_8.impl_set_information('help', 'Test help')
option_9 = ChoiceOption(name='mode', doc='mode', values=('pre', 'post'), default='pre', properties=frozenset({'mandatory', 'normal'}))
option_6 = OptionDescription(name='ejabberd', doc='ejabberd', children=[option_7, option_8, option_9], properties=frozenset({'normal'}))
option_5 = OptionDescription(name='extra', doc='extra', children=[option_6])
@ -32,6 +32,6 @@ option_20 = BoolOption(name='activate', doc='activate', default=True)
option_13 = OptionDescription(name='mailname', doc='mailname', children=[option_14, option_15, option_16, option_17, option_18, option_19, option_20])
option_12 = OptionDescription(name='files', doc='files', children=[option_13])
option_11 = OptionDescription(name='test', doc='test', children=[option_12])
option_11.impl_set_information("manage", True)
option_11.impl_set_information('manage', True)
option_10 = OptionDescription(name='services', doc='services', children=[option_11], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_5, option_10])

View File

@ -17,7 +17,7 @@ option_4 = StrOption(name='activer_ejabberd', doc='No change', default='non', pr
option_2 = OptionDescription(name='general', doc='général', children=[option_3, option_4], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_7 = StrOption(name='description', doc='description', default='Exportation de la base de ejabberd', properties=frozenset({'mandatory', 'normal'}))
option_8 = ChoiceOption(name='day', doc='day', values=('none', 'daily', 'weekly', 'monthly'), default=Calculation(func.calc_multi_condition, Params((ParamValue("non")), kwargs={'condition_1': ParamOption(option_4, notraisepropertyerror=True, todict=False), 'match': ParamValue("none"), 'mismatch': ParamValue("daily")})), properties=frozenset({'mandatory', 'normal'}))
option_8 = ChoiceOption(name='day', doc='day', values=('none', 'daily', 'weekly', 'monthly'), default=Calculation(func.calc_multi_condition, Params((ParamValue('non')), kwargs={'condition_1': ParamOption(option_4, notraisepropertyerror=True, todict=False), 'match': ParamValue('none'), 'mismatch': ParamValue('daily')})), properties=frozenset({'mandatory', 'normal'}))
option_9 = ChoiceOption(name='mode', doc='mode', values=('pre', 'post'), default='pre', properties=frozenset({'mandatory', 'normal'}))
option_6 = OptionDescription(name='ejabberd', doc='ejabberd', children=[option_7, option_8, option_9], properties=frozenset({'normal'}))
option_5 = OptionDescription(name='extra', doc='extra', children=[option_6])

View File

@ -17,7 +17,7 @@ option_4 = StrOption(name='activer_ejabberd', doc='No change', default='non', pr
option_2 = OptionDescription(name='general', doc='général', children=[option_3, option_4], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_7 = StrOption(name='description', doc='description', default='Exportation de la base de ejabberd', properties=frozenset({'mandatory', 'normal'}))
option_8 = ChoiceOption(name='day', doc='day', values=('none', 'daily', 'weekly', 'monthly'), default=Calculation(func.calc_multi_condition, Params((ParamValue("non")), kwargs={'condition_1': ParamOption(option_4, notraisepropertyerror=True, todict=False), 'match': ParamValue("none"), 'mismatch': ParamValue("daily")})), properties=frozenset({'mandatory', 'normal'}))
option_8 = ChoiceOption(name='day', doc='day', values=('none', 'daily', 'weekly', 'monthly'), default=Calculation(func.calc_multi_condition, Params((ParamValue('non')), kwargs={'condition_1': ParamOption(option_4, notraisepropertyerror=True, todict=False), 'match': ParamValue('none'), 'mismatch': ParamValue('daily')})), properties=frozenset({'mandatory', 'normal'}))
option_9 = ChoiceOption(name='mode', doc='mode', values=('pre', 'post'), default='pre', properties=frozenset({'mandatory', 'normal'}))
option_10 = StrOption(name='var1', doc='var1', properties=frozenset({'basic', 'mandatory'}))
option_6 = OptionDescription(name='ejabberd', doc='ejabberd', children=[option_7, option_8, option_9, option_10], properties=frozenset({'basic'}))

View File

@ -17,7 +17,7 @@ option_4 = StrOption(name='activer_ejabberd', doc='No change', default='non', pr
option_2 = OptionDescription(name='extra', doc='extra', children=[option_3, option_4], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_7 = StrOption(name='description', doc='description', default='Exportation de la base de ejabberd', properties=frozenset({'mandatory', 'normal'}))
option_8 = ChoiceOption(name='day', doc='day', values=('none', 'daily', 'weekly', 'monthly'), default=Calculation(func.calc_multi_condition, Params((ParamValue("non")), kwargs={'condition_1': ParamOption(option_4, notraisepropertyerror=True, todict=False), 'match': ParamValue("none"), 'mismatch': ParamValue("daily")})), properties=frozenset({'mandatory', 'normal'}))
option_8 = ChoiceOption(name='day', doc='day', values=('none', 'daily', 'weekly', 'monthly'), default=Calculation(func.calc_multi_condition, Params((ParamValue('non')), kwargs={'condition_1': ParamOption(option_4, notraisepropertyerror=True, todict=False), 'match': ParamValue('none'), 'mismatch': ParamValue('daily')})), properties=frozenset({'mandatory', 'normal'}))
option_9 = ChoiceOption(name='mode', doc='mode', values=('pre', 'post'), default='pre', properties=frozenset({'mandatory', 'normal'}))
option_6 = OptionDescription(name='ejabberd', doc='ejabberd', children=[option_7, option_8, option_9], properties=frozenset({'normal'}))
option_5 = OptionDescription(name='extra', doc='extra', children=[option_6])

View File

@ -17,7 +17,7 @@ option_4 = StrOption(name='activer_ejabberd', doc='No change', default='non', pr
option_2 = OptionDescription(name='general', doc='général', children=[option_3, option_4], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_7 = StrOption(name='description', doc='description', default='Exportation de la base de ejabberd', properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}))
option_8 = ChoiceOption(name='day', doc='day', values=('none', 'daily', 'weekly', 'monthly'), default=Calculation(func.calc_multi_condition, Params((ParamValue("non")), kwargs={'condition_1': ParamOption(option_4, notraisepropertyerror=True, todict=False), 'match': ParamValue("none"), 'mismatch': ParamValue("daily")})), properties=frozenset({'mandatory', 'normal'}))
option_8 = ChoiceOption(name='day', doc='day', values=('none', 'daily', 'weekly', 'monthly'), default=Calculation(func.calc_multi_condition, Params((ParamValue('non')), kwargs={'condition_1': ParamOption(option_4, notraisepropertyerror=True, todict=False), 'match': ParamValue('none'), 'mismatch': ParamValue('daily')})), properties=frozenset({'mandatory', 'normal'}))
option_9 = ChoiceOption(name='mode', doc='mode', values=('pre', 'post'), default='pre', properties=frozenset({'mandatory', 'normal'}))
option_6 = OptionDescription(name='ejabberd', doc='ejabberd', children=[option_7, option_8, option_9], properties=frozenset({'normal'}))
option_5 = OptionDescription(name='extra', doc='extra', children=[option_6])

View File

@ -33,6 +33,6 @@ option_22 = BoolOption(name='activate', doc='activate', default=True)
option_15 = OptionDescription(name='rougail_conf', doc='rougail.conf', children=[option_16, option_17, option_18, option_19, option_20, option_21, option_22])
option_6 = OptionDescription(name='files', doc='files', children=[option_7, option_15])
option_5 = OptionDescription(name='test', doc='test', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -26,6 +26,6 @@ option_15 = BoolOption(name='activate', doc='activate', default=True)
option_8 = OptionDescription(name='mailname', doc='mailname', children=[option_9, option_10, option_11, option_12, option_13, option_14, option_15])
option_7 = OptionDescription(name='files', doc='files', children=[option_8])
option_6 = OptionDescription(name='test', doc='test', children=[option_7])
option_6.impl_set_information("manage", True)
option_6.impl_set_information('manage', True)
option_5 = OptionDescription(name='services', doc='services', children=[option_6], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_5])

View File

@ -28,6 +28,6 @@ option_17 = BoolOption(name='activate', doc='activate', default=True)
option_9 = OptionDescription(name='mailname', doc='mailname', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_8 = OptionDescription(name='files', doc='files', children=[option_9])
option_7 = OptionDescription(name='test', doc='test', children=[option_8])
option_7.impl_set_information("manage", True)
option_7.impl_set_information('manage', True)
option_6 = OptionDescription(name='services', doc='services', children=[option_7], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6])

View File

@ -28,6 +28,6 @@ option_17 = BoolOption(name='activate', doc='activate', default=True)
option_9 = OptionDescription(name='mailname', doc='mailname', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_8 = OptionDescription(name='files', doc='files', children=[option_9])
option_7 = OptionDescription(name='test', doc='test', children=[option_8])
option_7.impl_set_information("manage", True)
option_7.impl_set_information('manage', True)
option_6 = OptionDescription(name='services', doc='services', children=[option_7], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6])

View File

@ -41,6 +41,6 @@ option_30 = BoolOption(name='activate', doc='activate', default=True)
option_23 = OptionDescription(name='rougail_conf', doc='rougail.conf', children=[option_24, option_25, option_26, option_27, option_28, option_29, option_30])
option_6 = OptionDescription(name='files', doc='files', children=[option_7, option_15, option_23])
option_5 = OptionDescription(name='test', doc='test', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -33,6 +33,6 @@ option_22 = BoolOption(name='activate', doc='activate', default=True)
option_15 = OptionDescription(name='mailname2', doc='mailname2', children=[option_16, option_17, option_18, option_19, option_20, option_21, option_22])
option_6 = OptionDescription(name='files', doc='files', children=[option_7, option_15])
option_5 = OptionDescription(name='test', doc='test', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -25,6 +25,6 @@ option_14 = BoolOption(name='activate', doc='activate', default=True)
option_7 = OptionDescription(name='mailname_new', doc='mailname.new', children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14])
option_6 = OptionDescription(name='files', doc='files', children=[option_7])
option_5 = OptionDescription(name='test', doc='test', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -16,6 +16,6 @@ option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='oui'
option_2 = OptionDescription(name='general', doc='général', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_5 = OptionDescription(name='test', doc='test', children=[])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -16,6 +16,6 @@ option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='non'
option_2 = OptionDescription(name='general', doc='général', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_5 = OptionDescription(name='test', doc='test', children=[])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -17,6 +17,6 @@ option_4 = IPOption(name='adresse_ip_test', doc='No change', allow_reserved=True
option_2 = OptionDescription(name='general', doc='général', children=[option_3, option_4], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_6 = OptionDescription(name='test', doc='test', children=[])
option_6.impl_set_information("manage", True)
option_6.impl_set_information('manage', True)
option_5 = OptionDescription(name='services', doc='services', children=[option_6], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_5])

View File

@ -24,6 +24,6 @@ option_13 = BoolOption(name='activate', doc='activate', default=True)
option_9 = OptionDescription(name='nut_monitor_host', doc='nut_monitor_host', children=[option_10, option_11, option_12, option_13])
option_8 = OptionDescription(name='ips', doc='ips', children=[option_9])
option_7 = OptionDescription(name='nut', doc='nut', children=[option_8])
option_7.impl_set_information("manage", True)
option_7.impl_set_information('manage', True)
option_6 = OptionDescription(name='services', doc='services', children=[option_7], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6])

View File

@ -25,6 +25,6 @@ option_14 = BoolOption(name='activate', doc='activate', default=True)
option_10 = OptionDescription(name='nut_monitor_host', doc='nut_monitor_host', children=[option_11, option_12, option_13, option_14])
option_9 = OptionDescription(name='ips', doc='ips', children=[option_10])
option_8 = OptionDescription(name='ntp', doc='ntp', children=[option_9])
option_8.impl_set_information("manage", True)
option_8.impl_set_information('manage', True)
option_7 = OptionDescription(name='services', doc='services', children=[option_8], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_7])

View File

@ -21,6 +21,6 @@ option_10 = BoolOption(name='activate', doc='activate', default=True)
option_7 = OptionDescription(name='123', doc='123', children=[option_8, option_9, option_10])
option_6 = OptionDescription(name='ports', doc='ports', children=[option_7])
option_5 = OptionDescription(name='ntp', doc='ntp', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -22,6 +22,6 @@ option_11 = BoolOption(name='activate', doc='activate', default=True)
option_7 = OptionDescription(name='192_168_1_1', doc='192.168.1.1', children=[option_8, option_9, option_10, option_11])
option_6 = OptionDescription(name='ips', doc='ips', children=[option_7])
option_5 = OptionDescription(name='testsrv', doc='testsrv', children=[option_6])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -16,6 +16,6 @@ option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='oui'
option_2 = OptionDescription(name='general', doc='général', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_5 = OptionDescription(name='testsrv', doc='testsrv', children=[])
option_5.impl_set_information("manage", True)
option_5.impl_set_information('manage', True)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])

View File

@ -16,6 +16,6 @@ option_3 = StrOption(name='mode_conteneur_actif', doc='No change', default='oui'
option_2 = OptionDescription(name='general', doc='général', children=[option_3], properties=frozenset({'normal'}))
option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2])
option_5 = OptionDescription(name='testsrv', doc='testsrv', children=[])
option_5.impl_set_information("manage", False)
option_5.impl_set_information('manage', False)
option_4 = OptionDescription(name='services', doc='services', children=[option_5], properties=frozenset({'hidden'}))
option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4])