File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,15 +60,19 @@ def __init__(
6060 max_exclusive: Like `max` but exclusive. May not be specified if `max`
6161 is specified and vice versa.
6262 check: A custom rule or multiple rules to run for this column. This can be:
63+
6364 - A single callable that returns a non-aggregated boolean expression.
6465 The name of the rule is derived from the callable name, or defaults to
6566 "check" for lambdas.
67+
6668 - A list of callables, where each callable returns a non-aggregated
6769 boolean expression. The name of the rule is derived from the callable
6870 name, or defaults to "check" for lambdas. Where multiple rules result
6971 in the same name, the suffix __i is appended to the name.
72+
7073 - A dictionary mapping rule names to callables, where each callable
7174 returns a non-aggregated boolean expression.
75+
7276 All rule names provided here are given the prefix `"check_"`.
7377 alias: An overwrite for this column's name which allows for using a column
7478 name that is not a valid Python identifier. Especially note that setting
You can’t perform that action at this time.
0 commit comments