kkrunner.backends.ExecutorEndpoint

class kkrunner.backends.ExecutorEndpoint(executor='local', host=None, ssh_options=(), remote_command=(), psij_backend=None, psij_url=None, ssh_zstd=False, filesystem_id=None)[source]

Bases: object

Identity of a reusable execution backend.

The endpoint contains only connection/backend properties. Launch and staging policy deliberately live elsewhere so one executor can be shared by profiles that differ only in how individual calculations are launched. The value is serializable and hashable, so it can also be persisted with a run and used as an ExecutorPool key after process restart.

Parameters:
  • executor (str)

  • host (Any)

  • ssh_options (Any)

  • remote_command (Any)

  • psij_backend (Any)

  • psij_url (Any)

  • ssh_zstd (bool)

  • filesystem_id (str | None)

executor: str = 'local'
host: Any = None
ssh_options: Any = ()
remote_command: Any = ()
psij_backend: Any = None
psij_url: Any = None
ssh_zstd: bool = False
filesystem_id: str | None = None