Skip to content

Commit

Permalink
Update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Feb 12, 2021
1 parent d2e5116 commit 7279672
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/controller/python/chip/ble/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import platform
import chip.native
import ctypes
from typing import List
from ctypes import c_bool, c_void_p, c_char_p, c_uint
from dataclasses import dataclass

Expand Down Expand Up @@ -54,7 +55,8 @@ def _GetBleLibraryHandle() -> ctypes.CDLL:
return handle


def GetAdapters():
def GetAdapters() -> List[AdapterInfo]:
"""Get a list of BLE adapters available on the system. """
handle = _GetBleLibraryHandle()

result = []
Expand Down

0 comments on commit 7279672

Please sign in to comment.