mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-12 05:26:45 +00:00
🐛 Fix indentation bug
This commit is contained in:
parent
9458d699cb
commit
64e904b12e
2 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
"""FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
|
"""FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
|
||||||
|
|
||||||
__version__ = "0.1.7"
|
__version__ = "0.1.8"
|
||||||
|
|
||||||
from .applications import FastAPI
|
from .applications import FastAPI
|
||||||
from .routing import APIRouter
|
from .routing import APIRouter
|
||||||
|
|
|
||||||
|
|
@ -66,9 +66,9 @@ def get_app(
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=400, detail="There was an error parsing the body"
|
status_code=400, detail="There was an error parsing the body"
|
||||||
)
|
)
|
||||||
values, errors = await solve_dependencies(
|
values, errors = await solve_dependencies(
|
||||||
request=request, dependant=dependant, body=body
|
request=request, dependant=dependant, body=body
|
||||||
)
|
)
|
||||||
if errors:
|
if errors:
|
||||||
errors_out = ValidationError(errors)
|
errors_out = ValidationError(errors)
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue