mirror of https://github.com/tiangolo/fastapi.git
🎨 Auto format
This commit is contained in:
parent
44125260cf
commit
5d6d932d89
|
|
@ -8,15 +8,12 @@ app = FastAPI()
|
|||
|
||||
|
||||
@app.get("/a", response_model=UserA)
|
||||
def user_a():
|
||||
...
|
||||
def user_a(): ...
|
||||
|
||||
|
||||
@app.get("/b", response_model=UserB)
|
||||
def user_b():
|
||||
...
|
||||
def user_b(): ...
|
||||
|
||||
|
||||
@app.get("/c", response_model=UserC)
|
||||
def user_c():
|
||||
...
|
||||
def user_c(): ...
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from .app import app
|
||||
|
|
|
|||
Loading…
Reference in New Issue