1- from pointblank import Actions , Thresholds
2- from pointblank ._utils import _PBUnresolvedColumn
3- from pointblank .column import Column , ReferenceColumn
4- from pointblank ._typing import Tolerance
5-
61import datetime
72from collections .abc import Collection
83from dataclasses import dataclass
@@ -17,20 +12,20 @@ from pointblank.thresholds import Actions, FinalActions, Thresholds
1712from typing import Any , Callable , Literal , ParamSpec , TypeVar
1813
1914__all__ = [
20- "Validate" ,
15+ "get_action_metadata" ,
16+ "get_validation_summary" ,
17+ "config" ,
2118 "load_dataset" ,
2219 "read_file" ,
2320 "write_file" ,
24- "config" ,
25- "connect_to_table" ,
26- "print_database_tables" ,
21+ "get_data_path" ,
2722 "preview" ,
2823 "missing_vals_tbl" ,
29- "get_action_metadata" ,
3024 "get_column_count" ,
31- "get_data_path" ,
3225 "get_row_count" ,
33- "get_validation_summary" ,
26+ "connect_to_table" ,
27+ "print_database_tables" ,
28+ "Validate" ,
3429]
3530
3631P = ParamSpec ("P" )
@@ -586,7 +581,7 @@ class Validate:
586581 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
587582 brief : str | bool = False ,
588583 actions : Actions | None = None ,
589- active : bool = True ,
584+ active : bool | Callable = True ,
590585 ) -> Validate :
591586 """Assert the values in a column sum to a value eq some `value`.
592587
@@ -622,7 +617,7 @@ class Validate:
622617 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
623618 brief : str | bool = False ,
624619 actions : Actions | None = None ,
625- active : bool = True ,
620+ active : bool | Callable = True ,
626621 ) -> Validate :
627622 """Assert the values in a column sum to a value gt some `value`.
628623
@@ -658,7 +653,7 @@ class Validate:
658653 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
659654 brief : str | bool = False ,
660655 actions : Actions | None = None ,
661- active : bool = True ,
656+ active : bool | Callable = True ,
662657 ) -> Validate :
663658 """Assert the values in a column sum to a value ge some `value`.
664659
@@ -694,7 +689,7 @@ class Validate:
694689 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
695690 brief : str | bool = False ,
696691 actions : Actions | None = None ,
697- active : bool = True ,
692+ active : bool | Callable = True ,
698693 ) -> Validate :
699694 """Assert the values in a column sum to a value lt some `value`.
700695
@@ -730,7 +725,7 @@ class Validate:
730725 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
731726 brief : str | bool = False ,
732727 actions : Actions | None = None ,
733- active : bool = True ,
728+ active : bool | Callable = True ,
734729 ) -> Validate :
735730 """Assert the values in a column sum to a value le some `value`.
736731
@@ -766,7 +761,7 @@ class Validate:
766761 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
767762 brief : str | bool = False ,
768763 actions : Actions | None = None ,
769- active : bool = True ,
764+ active : bool | Callable = True ,
770765 ) -> Validate :
771766 """Assert the values in a column avg to a value eq some `value`.
772767
@@ -802,7 +797,7 @@ class Validate:
802797 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
803798 brief : str | bool = False ,
804799 actions : Actions | None = None ,
805- active : bool = True ,
800+ active : bool | Callable = True ,
806801 ) -> Validate :
807802 """Assert the values in a column avg to a value gt some `value`.
808803
@@ -838,7 +833,7 @@ class Validate:
838833 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
839834 brief : str | bool = False ,
840835 actions : Actions | None = None ,
841- active : bool = True ,
836+ active : bool | Callable = True ,
842837 ) -> Validate :
843838 """Assert the values in a column avg to a value ge some `value`.
844839
@@ -874,7 +869,7 @@ class Validate:
874869 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
875870 brief : str | bool = False ,
876871 actions : Actions | None = None ,
877- active : bool = True ,
872+ active : bool | Callable = True ,
878873 ) -> Validate :
879874 """Assert the values in a column avg to a value lt some `value`.
880875
@@ -910,7 +905,7 @@ class Validate:
910905 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
911906 brief : str | bool = False ,
912907 actions : Actions | None = None ,
913- active : bool = True ,
908+ active : bool | Callable = True ,
914909 ) -> Validate :
915910 """Assert the values in a column avg to a value le some `value`.
916911
@@ -946,7 +941,7 @@ class Validate:
946941 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
947942 brief : str | bool = False ,
948943 actions : Actions | None = None ,
949- active : bool = True ,
944+ active : bool | Callable = True ,
950945 ) -> Validate :
951946 """Assert the values in a column sd to a value eq some `value`.
952947
@@ -982,7 +977,7 @@ class Validate:
982977 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
983978 brief : str | bool = False ,
984979 actions : Actions | None = None ,
985- active : bool = True ,
980+ active : bool | Callable = True ,
986981 ) -> Validate :
987982 """Assert the values in a column sd to a value gt some `value`.
988983
@@ -1018,7 +1013,7 @@ class Validate:
10181013 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
10191014 brief : str | bool = False ,
10201015 actions : Actions | None = None ,
1021- active : bool = True ,
1016+ active : bool | Callable = True ,
10221017 ) -> Validate :
10231018 """Assert the values in a column sd to a value ge some `value`.
10241019
@@ -1054,7 +1049,7 @@ class Validate:
10541049 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
10551050 brief : str | bool = False ,
10561051 actions : Actions | None = None ,
1057- active : bool = True ,
1052+ active : bool | Callable = True ,
10581053 ) -> Validate :
10591054 """Assert the values in a column sd to a value lt some `value`.
10601055
@@ -1090,7 +1085,7 @@ class Validate:
10901085 thresholds : float | bool | tuple | dict | Thresholds | None = None ,
10911086 brief : str | bool = False ,
10921087 actions : Actions | None = None ,
1093- active : bool = True ,
1088+ active : bool | Callable = True ,
10941089 ) -> Validate :
10951090 """Assert the values in a column sd to a value le some `value`.
10961091
0 commit comments