-
-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
61 changed files
with
1,219 additions
and
665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from api import app, TodoIn | ||
from api import app | ||
from api import TodoIn | ||
|
||
|
||
async def test_echo() -> None: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import asyncio | ||
from typing import AsyncGenerator | ||
from collections.abc import AsyncGenerator | ||
|
||
|
||
class Broker: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,55 @@ | ||
from __future__ import annotations | ||
|
||
from markupsafe import escape as escape, Markup as Markup | ||
from markupsafe import escape as escape | ||
from markupsafe import Markup as Markup | ||
|
||
from .app import Quart as Quart | ||
from .blueprints import Blueprint as Blueprint | ||
from .config import Config as Config | ||
from .ctx import ( | ||
after_this_request as after_this_request, | ||
copy_current_app_context as copy_current_app_context, | ||
copy_current_request_context as copy_current_request_context, | ||
copy_current_websocket_context as copy_current_websocket_context, | ||
has_app_context as has_app_context, | ||
has_request_context as has_request_context, | ||
has_websocket_context as has_websocket_context, | ||
) | ||
from .globals import ( | ||
current_app as current_app, | ||
g as g, | ||
request as request, | ||
session as session, | ||
websocket as websocket, | ||
) | ||
from .helpers import ( | ||
abort as abort, | ||
flash as flash, | ||
get_flashed_messages as get_flashed_messages, | ||
get_template_attribute as get_template_attribute, | ||
make_push_promise as make_push_promise, | ||
make_response as make_response, | ||
redirect as redirect, | ||
send_file as send_file, | ||
send_from_directory as send_from_directory, | ||
stream_with_context as stream_with_context, | ||
url_for as url_for, | ||
) | ||
from .ctx import after_this_request as after_this_request | ||
from .ctx import copy_current_app_context as copy_current_app_context | ||
from .ctx import copy_current_request_context as copy_current_request_context | ||
from .ctx import copy_current_websocket_context as copy_current_websocket_context | ||
from .ctx import has_app_context as has_app_context | ||
from .ctx import has_request_context as has_request_context | ||
from .ctx import has_websocket_context as has_websocket_context | ||
from .globals import current_app as current_app | ||
from .globals import g as g | ||
from .globals import request as request | ||
from .globals import session as session | ||
from .globals import websocket as websocket | ||
from .helpers import abort as abort | ||
from .helpers import flash as flash | ||
from .helpers import get_flashed_messages as get_flashed_messages | ||
from .helpers import get_template_attribute as get_template_attribute | ||
from .helpers import make_push_promise as make_push_promise | ||
from .helpers import make_response as make_response | ||
from .helpers import redirect as redirect | ||
from .helpers import send_file as send_file | ||
from .helpers import send_from_directory as send_from_directory | ||
from .helpers import stream_with_context as stream_with_context | ||
from .helpers import url_for as url_for | ||
from .json import jsonify as jsonify | ||
from .signals import ( | ||
appcontext_popped as appcontext_popped, | ||
appcontext_pushed as appcontext_pushed, | ||
appcontext_tearing_down as appcontext_tearing_down, | ||
before_render_template as before_render_template, | ||
got_request_exception as got_request_exception, | ||
got_websocket_exception as got_websocket_exception, | ||
message_flashed as message_flashed, | ||
request_finished as request_finished, | ||
request_started as request_started, | ||
request_tearing_down as request_tearing_down, | ||
signals_available as signals_available, | ||
template_rendered as template_rendered, | ||
websocket_finished as websocket_finished, | ||
websocket_started as websocket_started, | ||
websocket_tearing_down as websocket_tearing_down, | ||
) | ||
from .templating import ( | ||
render_template as render_template, | ||
render_template_string as render_template_string, | ||
stream_template as stream_template, | ||
stream_template_string as stream_template_string, | ||
) | ||
from .signals import appcontext_popped as appcontext_popped | ||
from .signals import appcontext_pushed as appcontext_pushed | ||
from .signals import appcontext_tearing_down as appcontext_tearing_down | ||
from .signals import before_render_template as before_render_template | ||
from .signals import got_request_exception as got_request_exception | ||
from .signals import got_websocket_exception as got_websocket_exception | ||
from .signals import message_flashed as message_flashed | ||
from .signals import request_finished as request_finished | ||
from .signals import request_started as request_started | ||
from .signals import request_tearing_down as request_tearing_down | ||
from .signals import signals_available as signals_available | ||
from .signals import template_rendered as template_rendered | ||
from .signals import websocket_finished as websocket_finished | ||
from .signals import websocket_started as websocket_started | ||
from .signals import websocket_tearing_down as websocket_tearing_down | ||
from .templating import render_template as render_template | ||
from .templating import render_template_string as render_template_string | ||
from .templating import stream_template as stream_template | ||
from .templating import stream_template_string as stream_template_string | ||
from .typing import ResponseReturnValue as ResponseReturnValue | ||
from .wrappers import Request as Request, Response as Response, Websocket as Websocket | ||
from .wrappers import Request as Request | ||
from .wrappers import Response as Response | ||
from .wrappers import Websocket as Websocket |
Oops, something went wrong.