🛠️ This documentation is still under construction
Python API
Version Source Verification

Version source verification

AlphaDB ships with a handy tool to verify if the version source will successfully execute. If the supplied version source contains errors, they will be gathered in a list. The issue list it returns has 3 priorities:

  • LOW: Will work, but will not have any effect on the database.
  • HIGH: Will still work, but might produce a different result than desired.
  • CRITICAL: Will not execute. Could cause data loss.

To verify a version source import the VersionSourceVerification class.

from alphadb import VersionSourceVerification

Supply it the entire version source and call method verify.

verification = VersionSourceVerification(version_source)
verification.verifiy()

If the version source has no errors or warnings, it will simply return True.