From e146ae8d1645c7eae7337161f866c95d2be6cf39 Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Tue, 15 Oct 2024 10:11:34 +0000 Subject: [PATCH] chore: fix deprecated decorator --- midealocal/message.py | 2 ++ requirements-dev.txt | 1 + requirements.txt | 1 + 3 files changed, 4 insertions(+) diff --git a/midealocal/message.py b/midealocal/message.py index 94a566bf..7b082ec7 100644 --- a/midealocal/message.py +++ b/midealocal/message.py @@ -5,6 +5,8 @@ from enum import IntEnum from typing import Any, Generic, SupportsIndex, TypeVar, cast +from deprecated import deprecated + from midealocal.const import DeviceType _LOGGER = logging.getLogger(__name__) diff --git a/requirements-dev.txt b/requirements-dev.txt index 097a0001..2659965c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,4 +6,5 @@ pytest-asyncio pytest-cov ruff setuptools +types-deprecated types-aiofiles diff --git a/requirements.txt b/requirements.txt index c16efbc3..9cce0991 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,6 +3,7 @@ aiohttp colorlog commonregex defusedxml +deprecated ifaddr pycryptodome platformdirs