Search documentation
karat

+

K

User Documentation ↗

transforms.api.Check

class transforms.api.Check(expectation, name, on_error='FAIL', description=None)

Wraps up an expectation such that it can be registered with Data Health.

  • Parameters:
    • expectation (transforms.expectations.Expectation) – The expectation to evaluate.
    • name (str) – The name of the check, used as a stable identifier over time.
    • on_error (str , optional) – What action to take if the expectation is not met. Currently ‘WARN’, ‘FAIL’.
    • description (str , optional) – The description of the check.