from tiramisu import * from tiramisu.setting import ALLOWED_LEADER_PROPERTIES from rougail.tiramisu import func, dict_env, load_functions, ConvertDynOptionDescription load_functions('tests/dictionaries/../eosfunc/test.py') ALLOWED_LEADER_PROPERTIES.add("basic") ALLOWED_LEADER_PROPERTIES.add("standard") ALLOWED_LEADER_PROPERTIES.add("advanced") option_4 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_3 = OptionDescription(name="type", doc="type", children=[option_4], properties=frozenset({"basic"})) option_6 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_5 = OptionDescription(name="description", doc="This is a other great family", children=[option_6], properties=frozenset({"basic"})) option_8 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_7 = OptionDescription(name="help", doc="help", children=[option_8], properties=frozenset({"basic"}), informations={'help': 'This is a other great family'}) option_10 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"advanced", "force_default_on_freeze", "frozen"})) optiondescription_9 = OptionDescription(name="mode", doc="mode", children=[option_10], properties=frozenset({"advanced"})) option_12 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_11 = OptionDescription(name="hidden", doc="hidden", children=[option_12], properties=frozenset({"basic", "hidden"})) option_14 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_13 = OptionDescription(name="disabled", doc="disabled", children=[option_14], properties=frozenset({"basic", "disabled"})) optiondescription_2 = OptionDescription(name="my_family", doc="This is a great family", children=[optiondescription_3, optiondescription_5, optiondescription_7, optiondescription_9, optiondescription_11, optiondescription_13], properties=frozenset({"basic", "disabled", "hidden"}), informations={'help': 'This is a great family'}) optiondescription_1 = OptionDescription(name="rougail", doc="rougail", children=[optiondescription_2], properties=frozenset({"basic"})) option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[optiondescription_1])