Skip to content

Commit 283a1c1

Browse files
committed
Readme
1 parent c8a4ab9 commit 283a1c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ Checkerator(
7979
# Templates
8080
A template needs to contain a class inheriting the Checkplate class.
8181
This class must implement a `validators` attribute, which must be a dictionary where the keys are the column names, and the values the validator.
82+
This class may also implement an optional `empty_ok`, which will manage the default behavior of the validators.
83+
Each validator's attribute `empty_ok` value will override the template.
84+
85+
8286
If you plan on generating a file with the template, it might be better to use an `OrderedDict`.
8387
See the examples for more information.
8488

0 commit comments

Comments
 (0)