浏览代码

#371 fix color module on Python3.7

Falko Schindler 2 年之前
父节点
当前提交
fda5df62c4
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      nicegui/colors.py

+ 3 - 1
nicegui/colors.py

@@ -1,4 +1,6 @@
-from typing import Optional, get_args
+from typing import Optional
+
+from typing_extensions import get_args
 
 from .element import Element
 from .tailwind_types.background_color import BackgroundColor