$58 GRAYBYTE WORDPRESS FILE MANAGER $55

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/imunify360/venv/lib/python3.11/site-packages/attr/

HOME
Current File : /opt/imunify360/venv/lib/python3.11/site-packages/attr//validators.pyi
from typing import (
    Any,
    AnyStr,
    Callable,
    Container,
    ContextManager,
    Iterable,
    List,
    Mapping,
    Match,
    Optional,
    Pattern,
    Tuple,
    Type,
    TypeVar,
    Union,
    overload,
)

from . import _ValidatorType
from . import _ValidatorArgType

_T = TypeVar("_T")
_T1 = TypeVar("_T1")
_T2 = TypeVar("_T2")
_T3 = TypeVar("_T3")
_I = TypeVar("_I", bound=Iterable)
_K = TypeVar("_K")
_V = TypeVar("_V")
_M = TypeVar("_M", bound=Mapping)

def set_disabled(run: bool) -> None: ...
def get_disabled() -> bool: ...
def disabled() -> ContextManager[None]: ...

# To be more precise on instance_of use some overloads.
# If there are more than 3 items in the tuple then we fall back to Any
@overload
def instance_of(type: Type[_T]) -> _ValidatorType[_T]: ...
@overload
def instance_of(type: Tuple[Type[_T]]) -> _ValidatorType[_T]: ...
@overload
def instance_of(
    type: Tuple[Type[_T1], Type[_T2]]
) -> _ValidatorType[Union[_T1, _T2]]: ...
@overload
def instance_of(
    type: Tuple[Type[_T1], Type[_T2], Type[_T3]]
) -> _ValidatorType[Union[_T1, _T2, _T3]]: ...
@overload
def instance_of(type: Tuple[type, ...]) -> _ValidatorType[Any]: ...
def provides(interface: Any) -> _ValidatorType[Any]: ...
def optional(
    validator: Union[
        _ValidatorType[_T], List[_ValidatorType[_T]], Tuple[_ValidatorType[_T]]
    ]
) -> _ValidatorType[Optional[_T]]: ...
def in_(options: Container[_T]) -> _ValidatorType[_T]: ...
def and_(*validators: _ValidatorType[_T]) -> _ValidatorType[_T]: ...
def matches_re(
    regex: Union[Pattern[AnyStr], AnyStr],
    flags: int = ...,
    func: Optional[
        Callable[[AnyStr, AnyStr, int], Optional[Match[AnyStr]]]
    ] = ...,
) -> _ValidatorType[AnyStr]: ...
def deep_iterable(
    member_validator: _ValidatorArgType[_T],
    iterable_validator: Optional[_ValidatorType[_I]] = ...,
) -> _ValidatorType[_I]: ...
def deep_mapping(
    key_validator: _ValidatorType[_K],
    value_validator: _ValidatorType[_V],
    mapping_validator: Optional[_ValidatorType[_M]] = ...,
) -> _ValidatorType[_M]: ...
def is_callable() -> _ValidatorType[_T]: ...
def lt(val: _T) -> _ValidatorType[_T]: ...
def le(val: _T) -> _ValidatorType[_T]: ...
def ge(val: _T) -> _ValidatorType[_T]: ...
def gt(val: _T) -> _ValidatorType[_T]: ...
def max_len(length: int) -> _ValidatorType[_T]: ...
def min_len(length: int) -> _ValidatorType[_T]: ...
def not_(
    validator: _ValidatorType[_T],
    *,
    msg: Optional[str] = None,
    exc_types: Union[Type[Exception], Iterable[Type[Exception]]] = ...,
) -> _ValidatorType[_T]: ...


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2026 8.59 AM
root / root
0755
__pycache__
--
3 Mar 2026 8.59 AM
root / root
0755
__init__.py
3.165 KB
13 Feb 2026 12.40 PM
root / root
0644
__init__.pyi
17.196 KB
13 Feb 2026 12.40 PM
root / root
0644
_cmp.py
4.002 KB
13 Feb 2026 12.40 PM
root / root
0644
_cmp.pyi
0.39 KB
13 Feb 2026 12.40 PM
root / root
0644
_compat.py
5.667 KB
13 Feb 2026 12.40 PM
root / root
0644
_config.py
0.807 KB
13 Feb 2026 12.40 PM
root / root
0644
_funcs.py
16.338 KB
13 Feb 2026 12.40 PM
root / root
0644
_make.py
94.706 KB
13 Feb 2026 12.40 PM
root / root
0644
_next_gen.py
6.124 KB
13 Feb 2026 12.40 PM
root / root
0644
_typing_compat.pyi
0.458 KB
13 Feb 2026 12.40 PM
root / root
0644
_version_info.py
2.071 KB
13 Feb 2026 12.40 PM
root / root
0644
_version_info.pyi
0.204 KB
13 Feb 2026 12.40 PM
root / root
0644
converters.py
3.518 KB
13 Feb 2026 12.40 PM
root / root
0644
converters.pyi
0.396 KB
13 Feb 2026 12.40 PM
root / root
0644
exceptions.py
1.846 KB
13 Feb 2026 12.40 PM
root / root
0644
exceptions.pyi
0.526 KB
13 Feb 2026 12.40 PM
root / root
0644
filters.py
1.436 KB
13 Feb 2026 12.40 PM
root / root
0644
filters.pyi
0.22 KB
13 Feb 2026 12.40 PM
root / root
0644
py.typed
0 KB
13 Feb 2026 12.40 PM
root / root
0644
setters.py
1.367 KB
13 Feb 2026 12.40 PM
root / root
0644
setters.pyi
0.554 KB
13 Feb 2026 12.40 PM
root / root
0644
validators.py
20.217 KB
13 Feb 2026 12.40 PM
root / root
0644
validators.pyi
2.52 KB
13 Feb 2026 12.40 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF