Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1""" Enums for the Data Validation Test classes """ 

2 

3from enum import Enum 

4 

5 

6class ValidationTestTypes(Enum): 

7 """ 

8 Descriptive term for what type of test the data test is. 

9 """ 

10 

11 COMPLETENESS = "COMPLETENESS" 

12 METADATA = "METADATA" 

13 QUALITY = "QUALITY" 

14 

15 

16class ValidationRunResultStatus(Enum): 

17 """ 

18 Data test run result statuses (i.e. result type). 

19 """ 

20 

21 PASS = "PASS" 

22 FAIL = "FAIL" 

23 WARN = "WARN" 

24 

25 

26class ValidationRunResultReason(Enum): 

27 """ 

28 Data test run result reasons (i.e. result sub-type). 

29 """ 

30 

31 DATATYPE_MISMATCH = "DATATYPE_MISMATCH" 

32 COLUMN_NAME_MISMATCH = "COLUMN_NAME_MISMATCH"