Skip to main content

Returns

Returns the closed Run, in a terminal status. Leaving a with galtea.runs.start(...) block already closes the run, so call this only for a run you opened without a block. A handle from runs.start() closes its own run with run.close(), which takes no arguments and is a no-op the second time. The API refuses the close in three cases: the run is deleted, the run already ended, or a launch of the run is still running. A run the platform opened for a launch ends on its own, so a close of one is refused as already ended.

Example

Parameters

string
required
The ID of the run to close.