Package Products :: Package ZenModel :: Module ZenPack :: Class ZenPackDataSourceMigrateBase |
[hide private]
[frames] | no frames]

# Class ZenPackDataSourceMigrateBase

source code

    ZenPackMigration --+
                       |
                      ZenPackDataSourceMigrateBase

Base class for ZenPack migrate steps that need to switch classes of datasources and reindex them. This is frequently done in migrate scripts for 2.2 when ZenPacks are migrated to python eggs.

Instance Methods | [hide private]
migrate(self, pack) Attempt to import oidDsModuleName and then any templates | source code
Inherited from `ZenPackMigration`: `recover`

Class Variables | [hide private]
| dsClass = `None`
| oldDsModuleName = `''`
| oldDsClassName = `''`
| reIndex = `False`
Inherited from `ZenPackMigration`: `version`

Method Details | [hide private]

### migrate(self, pack) | source code
Attempt to import oidDsModuleName and then any templates Parameters: `pack` (ZenPack object) - ZenPack object Overrides: ZenPackMigration.migrate