2025-05-16 18:00:22 +04:00

18 lines
338 B
Python

from typing import Any, Iterable
from .types import Schema
def validate(
datum: Any,
schema: Schema,
field: str = ...,
raise_errors: bool = ...,
strict: bool = ...,
) -> bool: ...
def validate_many(
records: Iterable[Any],
schema: Schema,
raise_errors: bool = ...,
strict: bool = ...,
) -> bool: ...