class genvid.toolbox.VersionBackup

Bases: Backup

Logic to backup the SDK version.

VERSION_FILENAME = 'version.txt'
property name: str

Overridden name() method.

backup(archive: ZipFile, obj)

Overridden backup() method.


While there is no type constraint on the obj parameter, the object should have a GENVID_TOOLBOX_VERSION data member defined for this method to work properly.

restore(archive: ZipFile, obj)

Overridden restore() method.


The version is stored in the archive for documentation purpose but is not used to restore any state.

class backup.VersionBackup

Implementation of genvid.toolbox.VersionBackup