mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 20:36:27 +00:00
🎨 Format files with pre-commit and Ruff (#611)
This commit is contained in:
committed by
GitHub
parent
2802a4df9e
commit
0cc802eec8
@@ -1,7 +1,7 @@
|
||||
from typing import Any, List
|
||||
from typing import Any
|
||||
|
||||
from fastapi import APIRouter, Depends, HTTPException
|
||||
from sqlmodel import select, func
|
||||
from sqlmodel import func, select
|
||||
|
||||
from app import crud
|
||||
from app.api.deps import (
|
||||
@@ -28,9 +28,7 @@ router = APIRouter()
|
||||
|
||||
|
||||
@router.get(
|
||||
"/",
|
||||
dependencies=[Depends(get_current_active_superuser)],
|
||||
response_model=UsersOut
|
||||
"/", dependencies=[Depends(get_current_active_superuser)], response_model=UsersOut
|
||||
)
|
||||
def read_users(session: SessionDep, skip: int = 0, limit: int = 100) -> Any:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user