attpcdaq.daq.models.RunMetadata.duration

RunMetadata.duration

Get the duration of the run.

If the run has not ended, the difference is taken with respect to the current time.

Returns:Object representing the duration of the run.
Return type:datetime.timedelta