Sideband/libs/able/tests/notebooks/init.md
2025-10-29 12:54:59 +01:00

737 B

jupyter
jupytext kernelspec
formats text_representation
ipynb,md
extension format_name format_version jupytext_version
.md markdown 1.3 1.11.2
display_name language name
Python 3 python python3
from time import sleep
%load_ext pythonhere
%connect-there
%%there
from dataclasses import dataclass, field
from typing import List

from jnius import autoclass, cast

from able.android.dispatcher import (
    BluetoothDispatcher
)

from able.scan_settings import (
    ScanSettings,
    ScanSettingsBuilder
)

@dataclass
class Results:
    started: bool = None
    completed: bool = None
    devices: List = field(default_factory=lambda: [])