Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These changes are intended to improve the external interface provided for plugins. These interfaces are meant for custom plugin UIs to call.
task_name
parameter inrunPluginTask
optional. If notask_name
is provided, then the plugin interface is executed without any additional arguments that might be provided by a task config. This method of running a plugin task is intended for plugins that want to run tasks using the task queue but don't want to expose the task in the stock UI.args
inrunPluginTask
in favour of the more genericargs_map
map input.description
parameter inrunPluginTask
, which will be used in the task queue description, which is otherwise defaulted to the description in the task config iftask_name
is provided, or the plugin ID otherwise.runPluginOperation
which runs a plugin with the supplied arguments immediately, not using the task management system, and returns the result provided by theOutput
field of the plugin. Returns an error if theError
field is populated.