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_5 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_4 = OptionDescription(name="type", doc="type", children=[option_5], properties=frozenset({"basic"})) option_7 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_6 = OptionDescription(name="description", doc="This is a other great family", children=[option_7], properties=frozenset({"basic"})) option_9 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_8 = OptionDescription(name="help", doc="help", children=[option_9], properties=frozenset({"basic"}), informations={'help': 'This is a other great family'}) option_11 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"advanced", "force_default_on_freeze", "frozen"})) optiondescription_10 = OptionDescription(name="mode", doc="mode", children=[option_11], properties=frozenset({"advanced"})) option_13 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_12 = OptionDescription(name="hidden", doc="hidden", children=[option_13], properties=frozenset({"basic", "hidden"})) option_15 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_14 = OptionDescription(name="disabled", doc="disabled", children=[option_15], properties=frozenset({"basic", "disabled"})) optiondescription_3 = OptionDescription(name="my_family", doc="This is a great family", children=[optiondescription_4, optiondescription_6, optiondescription_8, optiondescription_10, optiondescription_12, optiondescription_14], properties=frozenset({"basic", "disabled", "hidden"}), informations={'help': 'This is a great family'}) optiondescription_2 = OptionDescription(name="rougail", doc="rougail", children=[optiondescription_3], properties=frozenset({"basic"})) optiondescription_1 = OptionDescription(name="1", doc="1", children=[optiondescription_2], properties=frozenset({"basic"})) option_20 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_19 = OptionDescription(name="type", doc="type", children=[option_20], properties=frozenset({"basic"})) option_22 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_21 = OptionDescription(name="description", doc="This is a other great family", children=[option_22], properties=frozenset({"basic"})) option_24 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_23 = OptionDescription(name="help", doc="help", children=[option_24], properties=frozenset({"basic"}), informations={'help': 'This is a other great family'}) option_26 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"advanced", "force_default_on_freeze", "frozen"})) optiondescription_25 = OptionDescription(name="mode", doc="mode", children=[option_26], properties=frozenset({"advanced"})) option_28 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_27 = OptionDescription(name="hidden", doc="hidden", children=[option_28], properties=frozenset({"basic", "hidden"})) option_30 = StrOption(name="my_variable", doc="my_variable", properties=frozenset({"basic", "force_default_on_freeze", "frozen", "mandatory"})) optiondescription_29 = OptionDescription(name="disabled", doc="disabled", children=[option_30], properties=frozenset({"basic", "disabled"})) optiondescription_18 = OptionDescription(name="my_family", doc="This is a great family", children=[optiondescription_19, optiondescription_21, optiondescription_23, optiondescription_25, optiondescription_27, optiondescription_29], properties=frozenset({"basic", "disabled", "hidden"}), informations={'help': 'This is a great family'}) optiondescription_17 = OptionDescription(name="rougail", doc="rougail", children=[optiondescription_18], properties=frozenset({"basic"})) optiondescription_16 = OptionDescription(name="2", doc="2", children=[optiondescription_17], properties=frozenset({"basic"})) option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[optiondescription_1, optiondescription_16])