Add MicroPython generated files to gitignore

This commit is contained in:
Ádám Kovács
2023-11-24 23:32:43 +01:00
parent 46669dc268
commit aa369fec09
26 changed files with 715 additions and 245 deletions

View File

@@ -46,7 +46,7 @@ class ScanResult:
connectable: bool
def __init__(self, device) -> None: ...
def _update(self, adv_type, rssi, adv_data): ...
def __str__(self): ...
def __str__(self) -> str: ...
def _decode_field(self, *adv_type) -> Generator[Incomplete, None, None]: ...
def name(self): ...
def services(self) -> Generator[Incomplete, None, None]: ...

View File

@@ -46,7 +46,7 @@ class ClientService:
_end_handle: Incomplete
uuid: Incomplete
def __init__(self, connection, start_handle, end_handle, uuid) -> None: ...
def __str__(self): ...
def __str__(self) -> str: ...
async def characteristic(self, uuid, timeout_ms: int = ...): ...
def characteristics(self, uuid: Incomplete | None = ..., timeout_ms: int = ...): ...
def _start_discovery(connection, uuid: Incomplete | None = ...) -> None: ...
@@ -79,7 +79,7 @@ class ClientCharacteristic(BaseClientCharacteristic):
_indicate_event: Incomplete
_indicate_queue: Incomplete
def __init__(self, service, end_handle, value_handle, properties, uuid) -> None: ...
def __str__(self): ...
def __str__(self) -> str: ...
def _connection(self): ...
async def descriptor(self, uuid, timeout_ms: int = ...): ...
def descriptors(self, timeout_ms: int = ...): ...
@@ -95,6 +95,6 @@ class ClientCharacteristic(BaseClientCharacteristic):
class ClientDescriptor(BaseClientCharacteristic):
characteristic: Incomplete
def __init__(self, characteristic, dsc_handle, uuid) -> None: ...
def __str__(self): ...
def __str__(self) -> str: ...
def _connection(self): ...
def _start_discovery(characteristic, uuid: Incomplete | None = ...) -> None: ...

View File

@@ -15,7 +15,9 @@ class DeviceTimeout:
def __init__(self, connection, timeout_ms) -> None: ...
async def _timeout_sleep(self) -> None: ...
def __enter__(self) -> None: ...
def __exit__(self, exc_type, exc_val, exc_traceback) -> None: ...
def __exit__(
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_traceback: types.TracebackType | None
) -> None: ...
class Device:
addr_type: Incomplete
@@ -24,7 +26,7 @@ class Device:
def __init__(self, addr_type, addr) -> None: ...
def __eq__(self, rhs): ...
def __hash__(self): ...
def __str__(self): ...
def __str__(self) -> str: ...
def addr_hex(self): ...
async def connect(self, timeout_ms: int = ...): ...