kkrunner.runs.PersistentRunner

class kkrunner.runs.PersistentRunner(manager, executor, runner, record)[source]

Bases: object

Caller-owned runner that persists the public lifecycle directly.

property id
property record
property result
property backend_id
property execution
property files
property exception
property failure_phase
property state

Observe runner state without persisting a transition.

add_output_listener(callback)[source]
add_output_error_listener(callback)[source]
submit()[source]
start()[source]
wait()[source]
run()[source]
async run_async()[source]
refresh()[source]
stop_observation()[source]

Detach this client without cancelling its still-running job.

The completion callback persists a recoverable UNKNOWN observation. Call wait() to ensure the monitor has finished and been detached.

cancel()[source]