From: Sebastián Ramírez Date: Mon, 10 Dec 2018 14:20:55 +0000 (+0400) Subject: :bug: Fix indentation bug X-Git-Tag: 0.1.11~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=64e904b12ea779e6f286ce1350d88c3413579506;p=thirdparty%2Ffastapi%2Ffastapi.git :bug: Fix indentation bug --- diff --git a/fastapi/__init__.py b/fastapi/__init__.py index 209a0c6d6b..a1f6b0a5d7 100644 --- a/fastapi/__init__.py +++ b/fastapi/__init__.py @@ -1,6 +1,6 @@ """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 .routing import APIRouter diff --git a/fastapi/routing.py b/fastapi/routing.py index c42aeccea0..ef6c13de7f 100644 --- a/fastapi/routing.py +++ b/fastapi/routing.py @@ -66,9 +66,9 @@ def get_app( raise HTTPException( status_code=400, detail="There was an error parsing the body" ) - values, errors = await solve_dependencies( - request=request, dependant=dependant, body=body - ) + values, errors = await solve_dependencies( + request=request, dependant=dependant, body=body + ) if errors: errors_out = ValidationError(errors) raise HTTPException(