Explorar o código

#371 fix color module on Python3.7

Falko Schindler %!s(int64=2) %!d(string=hai) anos
pai
achega
fda5df62c4
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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