ruff format
This commit is contained in:
parent
21e48093ce
commit
258aab42b5
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ fastapi_users = get_fastapi_users()
|
||||||
|
|
||||||
_auth_dependency = fastapi_users.current_user(active=True, optional=not REQUIRE_AUTHENTICATION)
|
_auth_dependency = fastapi_users.current_user(active=True, optional=not REQUIRE_AUTHENTICATION)
|
||||||
|
|
||||||
|
|
||||||
async def get_authenticated_user(
|
async def get_authenticated_user(
|
||||||
user: Optional[User] = Depends(_auth_dependency),
|
user: Optional[User] = Depends(_auth_dependency),
|
||||||
) -> User:
|
) -> User:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue