retrieve

@Contract(pure = true)
open fun retrieve(run: Run): Run

Retrieves the updated run object from the given run.

This method returns a new run object wrapper. The run parameter is used only for Run.id. This method is useful for getting updated information about a run's status or values.

Return

The retrieved run

Parameters

run

The run to retrieve


@Contract(pure = true)
abstract fun retrieve(id: String): Run

Retrieves the run with the given id.

Return

The retrieved run

Parameters

id

The id of the run to retrieve