Coverage for src / bluetooth_sig / gatt / context.py: 100%

3 statements  

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

1"""Context objects used during characteristic parsing. 

2 

3This module provides a small, well-typed container that parsers can use 

4to access device-level information, advertisement data, and already- 

5parsed characteristics when decoding values that depend on context. 

6""" 

7 

8from __future__ import annotations 

9 

10# Re-export context types from the types package to maintain backward compatibility 

11from ..types import CharacteristicContext, DeviceInfo 

12 

13__all__ = ["CharacteristicContext", "DeviceInfo"]