Browse Source

sort some more imports

Falko Schindler 1 năm trước cách đây
mục cha
commit
bf56bc7780

+ 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