Skip to content

Commit

Permalink
add endpoint delete_group
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Abramov committed Dec 16, 2023
1 parent 85431b9 commit 7524045
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion app/api/endpoints/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from app.core.db import get_async_session
from app.crud import group_crud
from app.schemas.group import GroupCreate, GroupRead, GroupRemove
from app.schemas.group import GroupCreate, GroupRead


router = APIRouter()
Expand Down
4 changes: 0 additions & 4 deletions app/schemas/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,3 @@ class GroupRead(BaseModel):

class Config:
from_attributes = True


class GroupRemove(GroupRead):
id: Optional[int]

0 comments on commit 7524045

Please sign in to comment.