소스 검색

code review

Falko Schindler 3 년 전
부모
커밋
7e0c11cc09
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      nicegui/nicegui.py
  2. 2 1
      nicegui/timer.py

+ 0 - 1
nicegui/nicegui.py

@@ -1,5 +1,4 @@
 #!/usr/bin/env python3
-from collections import namedtuple
 from typing import Awaitable, Callable
 import asyncio
 

+ 2 - 1
nicegui/timer.py

@@ -2,12 +2,13 @@ import asyncio
 import time
 import traceback
 from typing import Awaitable, Callable, List, Union
+from collections import namedtuple
 
 from .binding import BindableProperty
 from .globals import tasks, view_stack
-from collections import namedtuple
 
 NamedCoroutine = namedtuple('NamedCoroutine', ['name', 'coro'])
+
 class Timer:
     prepared_coroutines: List[NamedCoroutine] = []