From 2733d49eab813c2d32f682f72847aa5ade9bbc00 Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Sun, 20 Feb 2022 20:21:23 +0100 Subject: [PATCH] constants: import TypeAlias from typing_extensions (py3.9 compat) --- constants.py | 3 ++- requirements.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/constants.py b/constants.py index cdb4758..d281694 100644 --- a/constants.py +++ b/constants.py @@ -1,4 +1,5 @@ -from typing import TypeAlias, TypedDict +from typing_extensions import TypeAlias +from typing import TypedDict FASTBOOT = 'fastboot' FLASH_PARTS = { diff --git a/requirements.txt b/requirements.txt index 47fc7b0..2b3138e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ click==8.0.1 appdirs==1.4.4 joblib==1.0.1 toml +typing_extensions