diff --git a/robyn/__init__.py b/robyn/__init__.py index 0b245c59..f6501b3c 100644 --- a/robyn/__init__.py +++ b/robyn/__init__.py @@ -8,7 +8,7 @@ from robyn.reloader import compile_rust_files from robyn.responses import html, serve_file, serve_html from robyn.robyn import Headers, Request, Response, WebSocketConnector -from robyn.robyn_app import get_version, Robyn, SubRouter +from robyn.robyn_app import Robyn, SubRouter, get_version from robyn.ws import WebSocket __version__ = get_version() diff --git a/unit_tests/test_robyn_app.py b/unit_tests/test_robyn_app.py index e06967ad..ae9db12c 100644 --- a/unit_tests/test_robyn_app.py +++ b/unit_tests/test_robyn_app.py @@ -1,6 +1,7 @@ import os -from robyn.router import Router + from robyn import Robyn, SubRouter +from robyn.router import Router def test_app_creation():