@@ -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.
73- The name of the rule is derived from the callable name, or defaults to
74- "check" for lambdas.
74+ The name of the rule is derived from the callable name, or defaults to
75+ "check" for lambdas.
76+
7577 - A list of callables, where each callable returns a non-aggregated
76- boolean expression. The name of the rule is derived from the callable
77- name, or defaults to "check" for lambdas. Where multiple rules result
78- in the same name, the suffix __i is appended to the name.
78+ boolean expression. The name of the rule is derived from the callable
79+ name, or defaults to "check" for lambdas. Where multiple rules result
80+ in the same name, the suffix __i is appended to the name.
81+
7982 - A dictionary mapping rule names to callables, where each callable
80- returns a non-aggregated boolean expression.
83+ 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.
211- The name of the rule is derived from the callable name, or defaults to
212- "check" for lambdas.
216+ The name of the rule is derived from the callable name, or defaults to
217+ "check" for lambdas.
218+
213219 - A list of callables, where each callable returns a non-aggregated
214- boolean expression. The name of the rule is derived from the callable
215- name, or defaults to "check" for lambdas. Where multiple rules result
216- in the same name, the suffix __i is appended to the name.
220+ boolean expression. The name of the rule is derived from the callable
221+ name, or defaults to "check" for lambdas. Where multiple rules result
222+ in the same name, the suffix __i is appended to the name.
223+
217224 - A dictionary mapping rule names to callables, where each callable
218- returns a non-aggregated boolean expression.
225+ 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.
361- The name of the rule is derived from the callable name, or defaults to
362- "check" for lambdas.
370+ The name of the rule is derived from the callable name, or defaults to
371+ "check" for lambdas.
372+
363373 - A list of callables, where each callable returns a non-aggregated
364- boolean expression. The name of the rule is derived from the callable
365- name, or defaults to "check" for lambdas. Where multiple rules result
366- in the same name, the suffix __i is appended to the name.
374+ boolean expression. The name of the rule is derived from the callable
375+ name, or defaults to "check" for lambdas. Where multiple rules result
376+ in the same name, the suffix __i is appended to the name.
377+
367378 - A dictionary mapping rule names to callables, where each callable
368- returns a non-aggregated boolean expression.
379+ 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.
525- The name of the rule is derived from the callable name, or defaults to
526- "check" for lambdas.
538+ The name of the rule is derived from the callable name, or defaults to
539+ "check" for lambdas.
540+
527541 - A list of callables, where each callable returns a non-aggregated
528- boolean expression. The name of the rule is derived from the callable
529- name, or defaults to "check" for lambdas. Where multiple rules result
530- in the same name, the suffix __i is appended to the name.
542+ boolean expression. The name of the rule is derived from the callable
543+ name, or defaults to "check" for lambdas. Where multiple rules result
544+ in the same name, the suffix __i is appended to the name.
545+
531546 - A dictionary mapping rule names to callables, where each callable
532- returns a non-aggregated boolean expression.
547+ 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