forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
just backing up some changes on builtin typehinting
- Loading branch information
1 parent
55d9b9c
commit 14f58b6
Showing
3 changed files
with
45 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from typing import Any, Callable | ||
|
||
|
||
class ChipStack: | ||
_ChipStackLib: Any | ||
_chipDLLPath: Any | ||
devMgr: Any | ||
_enableServerInteractions: bool | ||
cbHandleChipThreadRun: Any | ||
_persistentStorage: Any | ||
|
||
def __init__(self, persistentStoragePath: str, enableServerInteractions: bool = True) -> None: ... | ||
def GetStorageManager(self) -> Any: ... | ||
@property | ||
def enableServerInteractions(self) -> bool: ... | ||
def Shutdown(self) -> None: ... | ||
def Call(self, callFunct: Callable[..., Any], timeoutMs: int = None) -> Any: ... | ||
async def CallAsyncWithResult(self, callFunct: Callable[..., Any], timeoutMs: int = None) -> Any: ... | ||
async def CallAsync(self, callFunct: Callable[..., Any], timeoutMs: int = None) -> None: ... | ||
def PostTaskOnChipThread(self, callFunct: Callable[..., Any]) -> Any: ... | ||
def LocateChipDLL(self) -> str: ... |