wei.core.admin
Handles admin commands and related logic.
Functions
|
Checks if a module can send an admin command |
|
Checks if an admin command can be sent to workflow |
|
Cancels a module |
|
Locks a module |
|
Pauses a module |
|
Pauses a workflow |
|
Resets a module |
|
Resets a workflow |
|
Resumes a module |
|
Resumes a workflow |
|
Safety stops a module |
|
Shuts down a module |
|
Unlocks a module |
- wei.core.admin.check_can_send_admin_command(module: Module, command: AdminCommands) bool
Checks if a module can send an admin command
- wei.core.admin.check_can_send_admin_command_wf(workflow: WorkflowRun, command: AdminCommands) bool
Checks if an admin command can be sent to workflow
- wei.core.admin.send_pause_wf(workflow: WorkflowRun)
Pauses a workflow
- wei.core.admin.send_reset_wf(workflow: WorkflowRun)
Resets a workflow
- wei.core.admin.send_resume_wf(workflow: WorkflowRun)
Resumes a workflow