📝 Remove *, from functions where it's not needed #1234 (#1239)

* Fix for - [FEATURE] Remove *, where it's not needed #1234

* 🔥 Remove unnecessary arg *,

* 🎨 Update docs format highlight lines

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Pankaj GiriandSebastián Ramírez authored and GitHub committed 2020-06-12 21:41:44 +02:00
1 parent 1b2a7546af
commit 7e2518350a
32 files changed
+32 -33

No files matched your search

+1 -1
View File
@@ -4,5 +4,5 @@ app = FastAPI()
@app.get("/items/")
async def read_items(*, strange_header: str = Header(None, convert_underscores=False)):
async def read_items(strange_header: str = Header(None, convert_underscores=False)):
return {"strange_header": strange_header}