kkrunner.remote.runner.RemoteRunner

class kkrunner.remote.runner.RemoteRunner(executor, spec, callback=None, *, output_listener=None, start=False, backend_id=None, remote_directory=None, files=None, state=RunState.NEW, output_targets=None, cache_targets=None, output_patterns=None, cache_patterns=None, cache_before=None)[source]

Bases: object

Client-side raw execution identified by an opaque backend ID.

The remote target owns only backend facts. This runner owns staging, streaming and the explicit DOWNLOADING phase in which declared artifacts become locally available. It performs no task-specific parsing.

property backend_id
property files
property execution
property state
property exception
property return_code
property failure_phase
property failure_message
add_output_listener(callback)[source]
add_output_error_listener(callback)[source]
stop_observation()[source]

Close this FOLLOW channel; never send backend cancellation.

start()[source]
submit()[source]
wait()[source]
run()[source]
async run_async()[source]
cancel()[source]