Merge "[doc] Clarify Step return values"
This commit is contained in:
1 changed files with 7 additions and 0 deletions
@@ -114,6 +114,13 @@ message, and no further managers will be called. An example step:
else:
raise errors.IncompatibleHardwareMethodError()
.. note::
If creating a new step, the value returned must be serializable into an
API response and log message. If replacing an existing step, you should
return a response of the same type and style of the upstream step.
If the step has args, you need to add them to argsinfo and provide the
function with extra parameters.
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.