📝 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
@@ -91,7 +91,7 @@ def authenticate_user(fake_db, username: str, password: str):
return user
def create_access_token(*, data: dict, expires_delta: timedelta = None):
def create_access_token(data: dict, expires_delta: timedelta = None):
to_encode = data.copy()
if expires_delta:
expire = datetime.utcnow() + expires_delta