kumoai.trainer.ArtifactExportJob#
- class kumoai.trainer.ArtifactExportJob[source]#
Bases:
KumoProgressFuture[ArtifactExportResult]Represents an in-progress artifact export job.
- result()[source]#
Returns the resolved state of the future.
- Raises:
Exception – If the future is complete but in a failed state due to an exception being raised, this method will raise the same exception.
- Return type:
- future()[source]#
Returns the
concurrent.futures.Futureobject wrapped by this future. It is not recommended to access this object directly.- Return type:
Future[ArtifactExportResult]
- cancel()[source]#
Cancels a running export job.
- Returns:
True if the job is in a terminal state.
- Return type:
- attach(interval_s=4.0)#
Allows a user to attach to a running job and view its progress.
- done()#
Returns
Trueif this future has been resolved withresult(), orFalseif this future is still in-progress. Note that this method will returnTrueif the future is complete, but in a failed state, and that this method will returnFalseif the job is complete, but the future has not been awaited.- Return type: