Skip to content

Commit 8a18516

Browse files
committed
fix(backend): Fix Black formatting for _extract_current_user signature
Keep function signature on single line as per Black's preference for signatures under 100 characters.
1 parent b6369e3 commit 8a18516

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

backend/app/middleware/authorization_middleware.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,7 @@ def _match_pattern(self, request_path: str, pattern: str) -> bool:
302302

303303
return True
304304

305-
async def _extract_current_user(
306-
self, request: Request
307-
) -> Optional[Dict[str, Any]]:
305+
async def _extract_current_user(self, request: Request) -> Optional[Dict[str, Any]]:
308306
"""
309307
Extract current user from request authentication
310308
"""

0 commit comments

Comments
 (0)