flexget.plugins.operate.template module#
- class flexget.plugins.operate.template.PluginTemplate[source]#
Bases:
objectAppyly templates with preconfigured plugins to a task config.
Example:
template: movies
Example, list of templates:
template: - movies - imdb
- schema = {'$defs': {'template': {'description': 'Name of a template which will be applied to this task.', 'type': 'string'}}, 'oneOf': [{'description': 'Apply multiple templates to this task.', 'items': {'$ref': '#/$defs/template'}, 'type': 'array'}, {'allOf': [{'$ref': '#/$defs/template'}], 'description': 'Apply a single template to this task.'}, {'description': 'Disable all templates on this task.', 'enum': [False], 'type': 'boolean'}]}#