-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Expand file tree
/
Copy pathasyncsearch.pyi
More file actions
60 lines (46 loc) · 1.66 KB
/
Copy pathasyncsearch.pyi
File metadata and controls
60 lines (46 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from typing import Any
from ldap import __version__ as __version__
SEARCH_RESULT_TYPES: set[int]
ENTRY_RESULT_TYPES: set[int]
class WrongResultType(Exception):
receivedResultType: Any
expectedResultTypes: Any
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
class AsyncSearchHandler:
beginResultsDropped: int
endResultBreak: int
def __init__(self, l: Any) -> None: ...
def startSearch(
self,
searchRoot: Any,
searchScope: Any,
filterStr: Any,
attrList: Any = ...,
attrsOnly: int = 0,
timeout: int = -1,
sizelimit: int = 0,
serverctrls: Any = ...,
clientctrls: Any = ...,
) -> None: ...
def preProcessing(self) -> None: ...
def afterFirstResult(self) -> None: ...
def postProcessing(self) -> None: ...
def processResults(self, ignoreResultsNumber: int = 0, processResultsCount: int = 0, timeout: int = -1) -> bool: ...
class List(AsyncSearchHandler):
allResults: list[Any]
def __init__(self, l: Any) -> None: ...
class Dict(AsyncSearchHandler):
allEntries: dict[Any, Any]
def __init__(self, l: Any) -> None: ...
class IndexedDict(Dict):
indexed_attrs: Any
index: Any
def __init__(self, l: Any, indexed_attrs: Any = ...) -> None: ...
class FileWriter(AsyncSearchHandler):
headerStr: str
footerStr: str
def __init__(self, l: Any, f: Any, headerStr: str = "", footerStr: str = "") -> None: ...
def preProcessing(self) -> None: ...
def postProcessing(self) -> None: ...
class LDIFWriter(FileWriter):
def __init__(self, l: Any, writer_obj: Any, headerStr: str = "", footerStr: str = "") -> None: ...