ok

Mini Shell

Direktori : /opt/imunify360/venv/lib64/python3.11/site-packages/cerberus/
Upload File :
Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/cerberus/__init__.py

"""
    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__",
]

Zerion Mini Shell 1.0