src.bluetooth_sig.gatt.lazy_exports¶
PEP 562 lazy export helpers for GATT package barrels.
Functions¶
Name | Description |
|---|---|
|
Resolve and cache a lazily exported name from export_map. |
Module Contents¶
- src.bluetooth_sig.gatt.lazy_exports.lazy_getattr(package_name: str, export_map: dict[str, str], name: str) object¶
Resolve and cache a lazily exported name from export_map.
- Parameters:
package_name – Fully qualified package name (for caching and errors).
export_map – Mapping of export name to fully qualified module path.
name – Attribute name requested via
__getattr__.
- Returns:
The resolved export.
- Raises:
AttributeError – If name is not in export_map.