diff --git a/examples/qml_httpx/app.py b/examples/qml_httpx/app.py index f544cd9..3db55f8 100644 --- a/examples/qml_httpx/app.py +++ b/examples/qml_httpx/app.py @@ -2,9 +2,9 @@ import asyncio from pathlib import Path -from qasync import QEventLoop, QApplication from PySide6.QtCore import QUrl from PySide6.QtQml import QQmlApplicationEngine, qmlRegisterType +from qasync import QEventLoop, QApplication from service import ExampleService diff --git a/examples/qml_httpx/service.py b/examples/qml_httpx/service.py index 3c2604f..54de6ef 100644 --- a/examples/qml_httpx/service.py +++ b/examples/qml_httpx/service.py @@ -1,7 +1,7 @@ import httpx -from qasync import asyncSlot from PySide6.QtCore import QObject, Signal, Property, Slot +from qasync import asyncSlot class ExampleService(QObject):