1
0
Эх сурвалжийг харах

#371 fix color module on Python3.7

Falko Schindler 2 жил өмнө
parent
commit
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