From 2cd4f84800ed598d584a0dfbd7665ca901f86b5d Mon Sep 17 00:00:00 2001 From: Lucas Abel <22837557+uael@users.noreply.github.com> Date: Mon, 6 Nov 2023 08:30:12 +0000 Subject: [PATCH] pandora: add `annotations` import --- bumble/pandora/config.py | 1 + bumble/pandora/device.py | 1 + bumble/pandora/host.py | 1 + bumble/pandora/security.py | 1 + bumble/pandora/utils.py | 1 + 5 files changed, 5 insertions(+) diff --git a/bumble/pandora/config.py b/bumble/pandora/config.py index fa448b85..e68abae8 100644 --- a/bumble/pandora/config.py +++ b/bumble/pandora/config.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations from bumble.pairing import PairingConfig, PairingDelegate from dataclasses import dataclass from typing import Any, Dict diff --git a/bumble/pandora/device.py b/bumble/pandora/device.py index 9173900a..4b0f7f2e 100644 --- a/bumble/pandora/device.py +++ b/bumble/pandora/device.py @@ -14,6 +14,7 @@ """Generic & dependency free Bumble (reference) device.""" +from __future__ import annotations from bumble import transport from bumble.core import ( BT_GENERIC_AUDIO_SERVICE, diff --git a/bumble/pandora/host.py b/bumble/pandora/host.py index 9e6e4b59..ef7b1ecf 100644 --- a/bumble/pandora/host.py +++ b/bumble/pandora/host.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations import asyncio import bumble.device import grpc diff --git a/bumble/pandora/security.py b/bumble/pandora/security.py index 85365e67..c14603ee 100644 --- a/bumble/pandora/security.py +++ b/bumble/pandora/security.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations import asyncio import contextlib import grpc diff --git a/bumble/pandora/utils.py b/bumble/pandora/utils.py index c07a5bcf..fba4b72a 100644 --- a/bumble/pandora/utils.py +++ b/bumble/pandora/utils.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations import contextlib import functools import grpc