PLANTA customizer APIs Current: migration - Dependencies migration - Dependencies Die nachfolgenden Inhalte sind nur in englischer Sprache verfügbar. This topic discusses the dependency API provided by the migration framework.A migration packet can have dependencies that are evaluated during migration to determine wheter the packet should run or notWhen the dependencies are not met, the packet is marked as pendingThe MinVersion and MaxVersion dependencies as well as the DBMSDependency will mark a packet as unnecessary insteadClassesBaseDependencyThe base class.All dependencies must subclass this class.MethodsFunctionParametersReturn ValueDescriptionBaseDependency.__init__(self)Initializes the dependencyBaseDependency.get_log_content(self)Retrieves a list of all log statements in the buffer and clears itBaseDependency.log(self, text)text: StringWrites into the internal log bufferPropertiesPropertyGetterSetterDescriptionBaseDependency.is_metThis property is abstract and must be implemented in a subclass. It must be returned if the condition of the dependency is satisfiedDBMSDependencyDependency on the type of database used.MethodsFunctionParametersReturn ValueDescriptionDBMSDependency.__init__(self, expected_dbms)expected_dbms: '000002' for Oracle and '000004' for MSSQLInitializes the dependencyMaxVersionDependencyDependency on database changesetWill check whether the value in database changeset is greater or equal to the version this dependency was initialized withMethodsFunctionParametersReturn ValueDescriptionMaxVersionDependency.__init__(self, version)version: Customizing version like '39.5.11'Initializes the dependencyMinVersionDependencyDependency on database changesetWill check whether the value in database changeset is less or equal to the version this dependency was initialized withMethodsFunctionParametersReturn ValueDescriptionMinVersionDependency.__init__(self, version)version: Customizing version like '39.5.11'Initializes the dependencyPacketDependencyMethodsFunctionParametersReturn ValueDescriptionPacketDependency.__init__(self, packet_path, expected_state)packet_path: Python pathexpected_state: PacketStateInitializes the dependency ×