genvid.toolbox.VersionBackup

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.

Warning

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.

Note

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