@@ -69,15 +69,19 @@ def __init__(
6969 For example, a value `1mo` expects all dates to be on the first of the
7070 month. Note that this setting does *not* affect the storage resolution.
7171 check: A custom rule or multiple rules to run for this column. This can be:
72+
7273 - A single callable that returns a non-aggregated boolean expression.
7374 The name of the rule is derived from the callable name, or defaults to
7475 "check" for lambdas.
76+
7577 - A list of callables, where each callable returns a non-aggregated
7678 boolean expression. The name of the rule is derived from the callable
7779 name, or defaults to "check" for lambdas. Where multiple rules result
7880 in the same name, the suffix __i is appended to the name.
81+
7982 - A dictionary mapping rule names to callables, where each callable
8083 returns a non-aggregated boolean expression.
84+
8185 All rule names provided here are given the prefix `"check_"`.
8286 alias: An overwrite for this column's name which allows for using a column
8387 name that is not a valid Python identifier. Especially note that setting
@@ -207,15 +211,19 @@ def __init__(
207211 For example, a value `1h` expects all times to be full hours. Note
208212 that this setting does *not* affect the storage resolution.
209213 check: A custom rule or multiple rules to run for this column. This can be:
214+
210215 - A single callable that returns a non-aggregated boolean expression.
211216 The name of the rule is derived from the callable name, or defaults to
212217 "check" for lambdas.
218+
213219 - A list of callables, where each callable returns a non-aggregated
214220 boolean expression. The name of the rule is derived from the callable
215221 name, or defaults to "check" for lambdas. Where multiple rules result
216222 in the same name, the suffix __i is appended to the name.
223+
217224 - A dictionary mapping rule names to callables, where each callable
218225 returns a non-aggregated boolean expression.
226+
219227 All rule names provided here are given the prefix `"check_"`.
220228 alias: An overwrite for this column's name which allows for using a column
221229 name that is not a valid Python identifier. Especially note that setting
@@ -357,15 +365,19 @@ def __init__(
357365 `America/New_York`.
358366 time_unit: Unit of time. Defaults to `us` (microseconds).
359367 check: A custom rule or multiple rules to run for this column. This can be:
368+
360369 - A single callable that returns a non-aggregated boolean expression.
361370 The name of the rule is derived from the callable name, or defaults to
362371 "check" for lambdas.
372+
363373 - A list of callables, where each callable returns a non-aggregated
364374 boolean expression. The name of the rule is derived from the callable
365375 name, or defaults to "check" for lambdas. Where multiple rules result
366376 in the same name, the suffix __i is appended to the name.
377+
367378 - A dictionary mapping rule names to callables, where each callable
368379 returns a non-aggregated boolean expression.
380+
369381 All rule names provided here are given the prefix `"check_"`.
370382 alias: An overwrite for this column's name which allows for using a column
371383 name that is not a valid Python identifier. Especially note that setting
@@ -521,15 +533,19 @@ def __init__(
521533 that this setting does *not* affect the storage resolution.
522534 time_unit: Unit of time. Defaults to `us` (microseconds).
523535 check: A custom rule or multiple rules to run for this column. This can be:
536+
524537 - A single callable that returns a non-aggregated boolean expression.
525538 The name of the rule is derived from the callable name, or defaults to
526539 "check" for lambdas.
540+
527541 - A list of callables, where each callable returns a non-aggregated
528542 boolean expression. The name of the rule is derived from the callable
529543 name, or defaults to "check" for lambdas. Where multiple rules result
530544 in the same name, the suffix __i is appended to the name.
545+
531546 - A dictionary mapping rule names to callables, where each callable
532547 returns a non-aggregated boolean expression.
548+
533549 All rule names provided here are given the prefix `"check_"`.
534550 alias: An overwrite for this column's name which allows for using a column
535551 name that is not a valid Python identifier. Especially note that setting
0 commit comments