Skip to content

JobHandle

JobHandle

Bases: Protocol

Minimum interface returned by a submission platform.

Implementations own authentication and remote operations. Use concrete handles returned by submit() rather than constructing this protocol.

Methods:

Name Description
status

Fetch current normalized and native remote states.

cancel

Request remote cancellation; query status to confirm the outcome.

download

Download outputs to destination using the provider's archive convention.

Attributes:

Name Type Description
id str

Provider-assigned job identifier.

Attributes

id property

id: str

Provider-assigned job identifier.

Methods:

status

status() -> JobStatus

Fetch current normalized and native remote states.

cancel

cancel() -> None

Request remote cancellation; query status to confirm the outcome.

download

download(destination: Path) -> Path

Download outputs to destination using the provider's archive convention.

Parameters:

Name Type Description Default
destination Path

Local output path; TACC expects a new ZIP filename.

required

Returns:

Name Type Description
saved Path

Local archive path.