瀏覽代碼

sort some more imports

Falko Schindler 1 年之前
父節點
當前提交
bf56bc7780
共有 3 個文件被更改,包括 4 次插入3 次删除
  1. 2 2
      examples/audio_recorder/audio_recorder.py
  2. 1 0
      examples/audio_recorder/main.py
  3. 1 1
      nicegui/elements/timer.py

+ 2 - 2
examples/audio_recorder/audio_recorder.py

@@ -1,7 +1,7 @@
-from typing import Callable, Optional
 import base64
+from typing import Callable, Optional
 
-from nicegui import ui, events
+from nicegui import events, ui
 
 
 class AudioRecorder(ui.element, component='audio_recorder.vue'):

+ 1 - 0
examples/audio_recorder/main.py

@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
 from audio_recorder import AudioRecorder
+
 from nicegui import ui
 
 with ui.row().classes('w-full justify-center'):

+ 1 - 1
nicegui/elements/timer.py

@@ -1,7 +1,7 @@
 import asyncio
 import time
 from contextlib import nullcontext
-from typing import Any, Callable, Optional, Awaitable
+from typing import Any, Awaitable, Callable, Optional
 
 from .. import background_tasks, core
 from ..awaitable_response import AwaitableResponse