The openstack_dashboard.openstack.common.version ModuleΒΆ

Utilities for consuming the version from pkg_resources.

class openstack_dashboard.openstack.common.version.VersionInfo(package)[source]

Bases: object

VersionInfo.cached_version_string(prefix='')[source]

Generate an object which will expand in a string context to the results of version_string(). We do this so that don’t call into pkg_resources every time we start up a program when passing version information into the CONF constructor, but rather only do the calculation when and if a version is requested

VersionInfo.canonical_version_string()

Return the short version minus any alpha/beta tags.

VersionInfo.release_string()[source]

Return the full version of the package including suffixes indicating VCS status.

VersionInfo.version_string()[source]

Return the short version minus any alpha/beta tags.

VersionInfo.version_string_with_vcs()

Return the full version of the package including suffixes indicating VCS status.

Previous topic

The openstack_dashboard.openstack.common Module

Next topic

The openstack_dashboard.openstack.common.setup Module

This Page