ScriptVersion

class app.util.helpers.version.ScriptVersion[source]

Bases: object

Inheritance diagram of ScriptVersion

Inheritance Diagram for ScriptVersion

Methods

__init__()

Attributes

git_revision

Get the current git revision string, if available.

version

version_string

Get the full version string, including git revision if available.

__init__()[source]
static __new__(cls, *args, **kwargs)[source]
property git_revision: str | None[source]

Get the current git revision string, if available.

Returns:

The git revision string, or None if not available.

Return type:

str or None

property version: str
property version_string: str[source]

Get the full version string, including git revision if available.

Returns:

The version string.

Return type:

str