BuildInfo
class optris_sdk.sdkinfo.BuildInfo(NamedTuple)
Which build of the SDK is loaded.
- Attribute
version— product version for display, e.g.'12.0.0'. The same valueoptris_sdk.sdk_version_stringreturns -- both read one generated constant, so they cannot disagree. - Attribute
commit— abbreviated hash of the commit it was built from, with-dirtyappended if the working tree differed, or'unknown'. - Attribute
commit_date— that commit's date, ISO 8601 with a zone offset, or'unknown'. - Attribute
branch— the branch it was built from, or'unknown'. A release build is made from a detached checkout, so this is what the build system said it was building rather than anything the checkout remembers. - Attribute
build_type— the CMake build type, e.g.'Release'. - Attribute
build_date— when it was compiled, ISO 8601, always UTC. - Attribute
os— the operating system it was built for, e.g.'Linux'. - Attribute
platform— the architecture, e.g.'amd64'.
BuildInfo — methods
__str__()
One line for a bug report or a diagnostics bundle.