Browse Source

#371 fix color module on Python3.7

Falko Schindler 2 years ago
parent
commit
fda5df62c4
1 changed files with 3 additions and 1 deletions
  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