Преглед изворни кода

#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