BuildScan¶
- class verta.endpoint.build.BuildScan(json)¶
A scan of a Verta model build.
New in version 0.23.0.
There should not be a need to instantiate this class directly; please use
Build.get_scan()
instead.Note
BuildScan
objects do not currently fetch live information from the backend; new objects must be obtained fromBuild.get_scan()
to get up-to-date scan progress and results.- Variables:
date_updated (timezone-aware
datetime
) – The date and time when this scan was performed/updated.progress (
ScanProgressEnum
) – The current progress of this scan.result (
ScanResultEnum
or None) – The result of this scan.None
is returned if this scan is not yet finished, and therefore has no result.passed (bool) –
Whether this scan finished and passed. This property is for convenience, equivalent to
(build_scan.progress == "scanned") and (build_scan.result == "safe")