only import typing-extenstions during TYPE_CHECKING

This commit is contained in:
sommersoft 2022-04-08 13:43:38 -05:00
parent 035433f7bd
commit 6773485962
1 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ from typing import Match
from typing import TYPE_CHECKING
import yaml
if TYPE_CHECKING:
from typing_extensions import TypedDict
logging.basicConfig(