소스 검색

#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 .element import Element
 from .tailwind_types.background_color import BackgroundColor
 from .tailwind_types.background_color import BackgroundColor