Coverage for src / bluetooth_sig / types / registry / dp_property_groups.py: 0%

12 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-11 20:14 +0000

1"""Types for Bluetooth SIG Device Property Groups registry.""" 

2 

3from __future__ import annotations 

4 

5import msgspec 

6 

7from bluetooth_sig.types.registry import BaseUuidInfo 

8 

9 

10class PropertyGroupEntry(msgspec.Struct, frozen=True): 

11 """Entry for property groups from YAML.""" 

12 

13 identifier: str 

14 name: str 

15 description: str 

16 

17 

18class PropertyGroupsData(msgspec.Struct): 

19 """Top-level data structure for property_groups.yaml.""" 

20 

21 groups: list[PropertyGroupEntry] 

22 

23 

24class PropertyGroupInfo(BaseUuidInfo, frozen=True, kw_only=True): 

25 """Information about a Bluetooth SIG property group.""" 

26 

27 description: str = "" 

28 summary: str = ""