pi_portal.modules.integrations.chat.cli.commands.subcommands.bases.process_uptime_subcommand.ChatProcessUptimeCommandBase

class pi_portal.modules.integrations.chat.cli.commands.subcommands.bases.process_uptime_subcommand.ChatProcessUptimeCommandBase(bot: TypeChatBot)[source]

Bases: ChatProcessStatusCommandBase

Retrieves uptime for the process and re-raises supervisor exceptions.

__init__(bot: TypeChatBot) None
hook_invoker() None

Retrieve process information.

hook_supervisor_exception() None[source]

Re-raise the SupervisorException.

Raises:

supervisor.SupervisorException

invoke() None

Manage the process with error handling.