Skip to main content

data.verifiers.verifier

Verifier Objects

class Verifier(Protocol)

Defines the general interface for data verifiers.

verify_create

def verify_create() -> None

Verifies a new entity. In case of invalid data, an error is thrown.

Raises:

  • VerificationException - In case of any errors in the entity data.

verify_update

def verify_update() -> None

Verifies an updated entity. In case of invalid data, an error is thrown.

Raises:

  • VerificationException - In case of any errors in the entity data.

verify_delete

def verify_delete() -> None

Verifies the deletion of an entity. In case of invalid data, an error is thrown.

Raises:

  • VerificationException - In case of any errors in the entity data.