application.tasks.shutdown Module¶
-
class
wpull.application.tasks.shutdown.AppStopTask[source]¶ Bases:
wpull.pipeline.pipeline.ItemTask,wpull.application.hook.HookableMixin-
static
plugin_exit_status(app_session: wpull.pipeline.app.AppSession, exit_code: int) → int[source]¶ Return the program exit status code.
Exit codes are values from
errors.ExitStatus.Parameters: exit_code – The exit code Wpull wants to return. Returns: The exit code that Wpull will return. Return type: int
-
static