Skip to content

Commit

Permalink
code adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
wang0618 committed Oct 3, 2022
1 parent b57cac4 commit a5e50b6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pywebio/platform/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"""

from .httpbased import run_event_loop
from .adaptor.http import run_event_loop
from .page import config
from .page import seo
from .path_deploy import path_deploy_http, path_deploy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
from contextlib import contextmanager
from typing import Dict

from .page import make_applications, render_page
from .utils import deserialize_binary_event
from ..session import CoroutineBasedSession, Session, ThreadBasedSession, register_session_implement_for_target
from ..session.base import get_session_info_from_headers
from ..utils import random_str, LRUDict, isgeneratorfunction, iscoroutinefunction, check_webio_js
from ..page import make_applications, render_page
from ..utils import deserialize_binary_event
from ...session import CoroutineBasedSession, Session, ThreadBasedSession, register_session_implement_for_target
from ...session.base import get_session_info_from_headers
from ...utils import random_str, LRUDict, isgeneratorfunction, iscoroutinefunction, check_webio_js


class HttpContext:
Expand Down
2 changes: 1 addition & 1 deletion pywebio/platform/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from . import page
from ..session import Session
from .httpbased import HttpContext, HttpHandler, run_event_loop
from .adaptor.http import HttpContext, HttpHandler, run_event_loop
from .remote_access import start_remote_access_service
from .page import make_applications
from .utils import cdn_validation, print_listen_address
Expand Down
2 changes: 1 addition & 1 deletion pywebio/platform/flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from flask import Flask, request, send_from_directory, Response

from . import page
from .httpbased import HttpContext, HttpHandler, run_event_loop
from .adaptor.http import HttpContext, HttpHandler, run_event_loop
from .page import make_applications
from .remote_access import start_remote_access_service
from .utils import cdn_validation
Expand Down
2 changes: 1 addition & 1 deletion pywebio/platform/path_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import tornado.ioloop

from . import page
from .httpbased import HttpHandler
from .adaptor.http import HttpHandler
from .page import make_applications
from .tornado import webio_handler, set_ioloop
from .tornado_http import TornadoHttpContext
Expand Down
2 changes: 1 addition & 1 deletion pywebio/platform/tornado_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from . import page
from ..session import Session
from .httpbased import HttpContext, HttpHandler
from .adaptor.http import HttpContext, HttpHandler
from .tornado import set_ioloop, _setup_server, open_webbrowser_on_server_started
from .utils import cdn_validation, print_listen_address
from ..utils import parse_file_size
Expand Down

0 comments on commit a5e50b6

Please sign in to comment.