ValidationCache
Add LRU caching the validation step during execution to improve performance.
Example:
Constructor:
Initialize the ValidationCache.
Signature:
Parameters:
-
maxsize:
Set the maxsize of the cache. If
maxsize
is set toNone
then the cache will grow without bound.- Type
-
int | None
- Default
-
None
Methods:
-
on_validate
Signature:
Attributes:
-
cached_validate_document: