1882
|
1 # Stubs for twisted.internet.utils (Python 3)
|
|
2 #
|
|
3 # NOTE: This dynamically typed stub was automatically generated by stubgen.
|
|
4
|
|
5 from twisted.internet import protocol
|
|
6 from typing import Any, Optional
|
|
7
|
|
8 class _UnexpectedErrorOutput(IOError):
|
|
9 processEnded: Any = ...
|
|
10 def __init__(self, text: Any, processEnded: Any) -> None: ...
|
|
11
|
|
12 class _BackRelay(protocol.ProcessProtocol):
|
|
13 deferred: Any = ...
|
|
14 s: Any = ...
|
|
15 errReceived: Any = ...
|
|
16 def __init__(self, deferred: Any, errortoo: int = ...) -> None: ...
|
|
17 onProcessEnded: Any = ...
|
|
18 def errReceivedIsBad(self, text: Any) -> None: ...
|
|
19 def errReceivedIsGood(self, text: Any) -> None: ...
|
|
20 def outReceived(self, text: Any) -> None: ...
|
|
21 def processEnded(self, reason: Any) -> None: ...
|
|
22
|
|
23 def getProcessOutput(executable: Any, args: Any = ..., env: Any = ..., path: Optional[Any] = ..., reactor: Optional[Any] = ..., errortoo: int = ...): ...
|
|
24
|
|
25 class _ValueGetter(protocol.ProcessProtocol):
|
|
26 deferred: Any = ...
|
|
27 def __init__(self, deferred: Any) -> None: ...
|
|
28 def processEnded(self, reason: Any) -> None: ...
|
|
29
|
|
30 def getProcessValue(executable: Any, args: Any = ..., env: Any = ..., path: Optional[Any] = ..., reactor: Optional[Any] = ...): ...
|
|
31
|
|
32 class _EverythingGetter(protocol.ProcessProtocol):
|
|
33 deferred: Any = ...
|
|
34 outBuf: Any = ...
|
|
35 errBuf: Any = ...
|
|
36 outReceived: Any = ...
|
|
37 errReceived: Any = ...
|
|
38 def __init__(self, deferred: Any) -> None: ...
|
|
39 def processEnded(self, reason: Any) -> None: ...
|
|
40
|
|
41 def getProcessOutputAndValue(executable: Any, args: Any = ..., env: Any = ..., path: Optional[Any] = ..., reactor: Optional[Any] = ...): ...
|
|
42 def runWithWarningsSuppressed(suppressedWarnings: Any, f: Any, *a: Any, **kw: Any): ...
|
|
43 def suppressWarnings(f: Any, *suppressedWarnings: Any): ...
|