From 63d8e7228cc94424a88ffb23cbedeadd2c18c93f Mon Sep 17 00:00:00 2001 From: acmacunlay Date: Tue, 8 Oct 2024 23:12:15 +0800 Subject: [PATCH] Add dependency: typing-extensions --- pyproject.toml | 2 +- src/pywaveshare/boards/sim868/typedefs.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2973c24..4a09936 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "pywaveshare" version = "0.5.0a0" -dependencies = ["RPi.GPIO", "pyserial"] +dependencies = ["pyserial", "RPi.GPIO", "typing-extensions"] requires-python = ">=3.7" authors = [{ name = "Tarek Tounsi", email = "software@tounsi.de" }] maintainers = [ diff --git a/src/pywaveshare/boards/sim868/typedefs.py b/src/pywaveshare/boards/sim868/typedefs.py index 4651c54..853c300 100644 --- a/src/pywaveshare/boards/sim868/typedefs.py +++ b/src/pywaveshare/boards/sim868/typedefs.py @@ -1,6 +1,8 @@ import typing -SMSSend = typing.TypedDict( +import typing_extensions + +SMSSend = typing_extensions.TypedDict( "SMSSend", { "Recipients": typing.List[str],