Server IP : 162.0.209.157 / Your IP : 3.15.223.129 [ Web Server : LiteSpeed System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : balaoqob ( 2395) PHP Version : 8.0.30 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/imunify360/venv/lib64/python3.11/site-packages/cerberus/ |
Upload File : |
""" Extensible validation for Python dictionaries. :copyright: 2012-2023 by Nicola Iarocci. :license: ISC, see LICENSE for more details. Full documentation is available at https://python-cerberus.org/ """ from __future__ import absolute_import from cerberus.platform import importlib_metadata from cerberus.schema import rules_set_registry, schema_registry, SchemaError from cerberus.utils import TypeDefinition from cerberus.validator import DocumentError, Validator try: __version__ = importlib_metadata.version("Cerberus") except importlib_metadata.PackageNotFoundError: __version__ = "unknown" __all__ = [ DocumentError.__name__, SchemaError.__name__, TypeDefinition.__name__, Validator.__name__, "schema_registry", "rules_set_registry", "__version__", ]