File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
src/functions_framework/aio Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 2525
2626from cloudevents .http import from_http
2727from cloudevents .http .event import CloudEvent
28+ from starlette .applications import Starlette
29+ from starlette .exceptions import HTTPException
30+ from starlette .middleware import Middleware
31+ from starlette .requests import Request
32+ from starlette .responses import JSONResponse , Response
33+ from starlette .routing import Route
2834
2935from functions_framework import (
3036 _enable_execution_id_logging ,
3642 MissingSourceException ,
3743)
3844
39- from starlette .applications import Starlette
40- from starlette .exceptions import HTTPException
41- from starlette .middleware import Middleware
42- from starlette .requests import Request
43- from starlette .responses import JSONResponse , Response
44- from starlette .routing import Route
45-
4645HTTPResponse = Union [
4746 Response , # Functions can return a full Starlette Response object
4847 str , # Str returns are wrapped in Response(result)
You can’t perform that action at this time.
0 commit comments