OXIESEC PANEL
- Current Dir:
/
/
snap
/
core24
/
988
/
usr
/
lib
/
python3
/
dist-packages
/
attr
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/04/2025 04:37:50 PM
rwxr-xr-x
📄
__init__.py
3.23 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
__init__.pyi
16.58 KB
02/29/2024 09:44:40 PM
rw-r--r--
📁
__pycache__
-
05/04/2025 04:37:50 PM
rwxr-xr-x
📄
_cmp.py
3.93 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
_cmp.pyi
399 bytes
02/29/2024 09:44:40 PM
rw-r--r--
📄
_compat.py
2.48 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
_config.py
843 bytes
02/29/2024 09:44:40 PM
rw-r--r--
📄
_funcs.py
16.77 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
_make.py
99.53 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
_next_gen.py
6.06 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
_typing_compat.pyi
469 bytes
02/29/2024 09:44:40 PM
rw-r--r--
📄
_version_info.py
2.07 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
_version_info.pyi
209 bytes
02/29/2024 09:44:40 PM
rw-r--r--
📄
converters.py
3.54 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
converters.pyi
406 bytes
02/29/2024 09:44:40 PM
rw-r--r--
📄
exceptions.py
1.93 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
exceptions.pyi
539 bytes
02/29/2024 09:44:40 PM
rw-r--r--
📄
filters.py
1.44 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
filters.pyi
225 bytes
02/29/2024 09:44:40 PM
rw-r--r--
📄
py.typed
0 bytes
02/29/2024 09:44:40 PM
rw-r--r--
📄
setters.py
1.37 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
setters.pyi
567 bytes
02/29/2024 09:44:40 PM
rw-r--r--
📄
validators.py
19.21 KB
02/29/2024 09:44:40 PM
rw-r--r--
📄
validators.pyi
2.52 KB
02/29/2024 09:44:40 PM
rw-r--r--
Editing: validators.pyi
Close
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]: ...