From 9bf9ed5f59d55ffa671f2deb284ea4c3642daceb Mon Sep 17 00:00:00 2001 From: khsiao-google Date: Fri, 10 Oct 2025 15:21:05 +0000 Subject: [PATCH] [Typing] Change list to Iterable --- bumble/hfp.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bumble/hfp.py b/bumble/hfp.py index dadbe6b0..fbb73076 100644 --- a/bumble/hfp.py +++ b/bumble/hfp.py @@ -489,9 +489,9 @@ STATUS_CODES = { @dataclasses.dataclass class HfConfiguration: - supported_hf_features: list[HfFeature] - supported_hf_indicators: list[HfIndicator] - supported_audio_codecs: list[AudioCodec] + supported_hf_features: Iterable[HfFeature] + supported_hf_indicators: Iterable[HfIndicator] + supported_audio_codecs: Iterable[AudioCodec] @dataclasses.dataclass @@ -716,7 +716,7 @@ class HfProtocol(utils.EventEmitter): """Termination signal for run() loop.""" supported_hf_features: int - supported_audio_codecs: list[AudioCodec] + supported_audio_codecs: Iterable[AudioCodec] supported_ag_features: int supported_ag_call_hold_operations: list[CallHoldOperation]