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
|
from _typeshed import Incomplete
from typing import Any
# Necessary for mypy to not throw AssertionError with win32com.client
class CDispatch:
def __init__(
self,
IDispatch,
olerepr,
userName: Incomplete | None = ...,
UnicodeToString: Incomplete | None = ...,
lazydata: Incomplete | None = ...,
) -> None: ...
def __call__(self, *args): ...
def __bool__(self): ...
def __dir__(self): ...
def __eq__(self, other): ...
def __ne__(self, other): ...
def __int__(self): ...
def __len__(self): ...
def __getitem__(self, index): ...
def __setitem__(self, index, *args): ...
def __LazyMap__(self, attr): ...
def __AttrToID__(self, attr): ...
ob: Incomplete
# CDispatch objects are dynamically generated and too complex to type
def __getattr__(self, attr: str) -> Any: ...
def __setattr__(self, attr: str, value: Any) -> None: ...
|