avocado_varianter_yaml_to_mux package¶
Module contents¶
Varianter plugin to parse yaml files to params
-
class
avocado_varianter_yaml_to_mux.ListOfNodeObjects¶ Bases:
listUsed to mark list as list of objects from whose node is going to be created
-
class
avocado_varianter_yaml_to_mux.Value¶ Bases:
tupleUsed to mark values to simplify checking for node vs. value
-
class
avocado_varianter_yaml_to_mux.YamlToMux¶ Bases:
avocado.core.mux.MuxPlugin,avocado.core.plugin_interfaces.VarianterProcesses the mux options into varianter plugin
-
description= 'Multiplexer plugin to parse yaml files to params'¶
-
initialize(args)¶
-
name= 'yaml_to_mux'¶
-
-
class
avocado_varianter_yaml_to_mux.YamlToMuxCLI¶ Bases:
avocado.core.plugin_interfaces.CLIDefines arguments for YamlToMux plugin
-
configure(parser)¶ Configures “run” and “variants” subparsers
-
description= "YamlToMux options for the 'run' subcommand"¶
-
name= 'yaml_to_mux'¶
-
run(args)¶ The YamlToMux varianter plugin handles these
-
-
avocado_varianter_yaml_to_mux.create_from_yaml(paths, debug=False)¶ Create tree structure from yaml-like file :param fileobj: File object to be processed :raise SyntaxError: When yaml-file is corrupted :return: Root of the created tree structure