Skip to content

Commit

Permalink
quick update for pylint sake
Browse files Browse the repository at this point in the history
  • Loading branch information
engineerjoe440 committed Sep 1, 2024
1 parent 39096a8 commit 077f12e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/wordwall/api/walls.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ async def get_wall_name(wall_id: str) -> str:
"""Provide the Friendly Name for the Wall."""
return manager.get_by_id(wall_id=wall_id).name

# pylint: disable=too-few-public-methods
class WallData(BaseModel):
"""Base Data for a Wall."""
name: str
# pylint: enable=too-few-public-methods

@router.post("/{wall_id}/name")
async def set_wall_name(wall_id: str, data: WallData):
Expand Down

0 comments on commit 077f12e

Please sign in to comment.