mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-04 15:13:26 -04:00
🐛 Fix tests imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from fastapi.applications import (
|
||||
from fastapi import (
|
||||
Body,
|
||||
Cookie,
|
||||
Depends,
|
||||
@@ -215,11 +215,6 @@ def get_header(head_name=Header(None, convert_underscores=False)):
|
||||
return head_name
|
||||
|
||||
|
||||
@app.get("/param")
|
||||
def get_param(par=Param(None)):
|
||||
return par
|
||||
|
||||
|
||||
@app.get("/security")
|
||||
def get_security(sec=Security(HTTPBasic())):
|
||||
return sec
|
||||
|
||||
Reference in New Issue
Block a user