Rename schema and test files for consistency

Renamed `event_theme` and `test_user_schema` file paths and imports to follow consistent plural naming conventions. This improves code clarity and aligns file and import naming across the project.
This commit is contained in:
2025-03-05 12:48:18 +01:00
parent b384512b9c
commit cbcd04d8e1
6 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ from sqlalchemy.orm import Session
from app.core.database import get_db
from app.crud.event_theme import event_theme
from app.schemas.event_theme import EventThemeCreate, EventThemeResponse, EventThemeUpdate
from app.schemas.event_themes import EventThemeCreate, EventThemeResponse, EventThemeUpdate
router = APIRouter()

View File

@@ -3,7 +3,7 @@ from sqlalchemy.orm import Session
from app.crud.base import CRUDBase
from app.models.event_theme import EventTheme
from app.schemas.event_theme import EventThemeCreate, EventThemeUpdate
from app.schemas.event_themes import EventThemeCreate, EventThemeUpdate
class CRUDEventTheme(CRUDBase[EventTheme, EventThemeCreate, EventThemeUpdate]):

View File

@@ -1,4 +1,4 @@
# app/schemas/event_theme.py
# app/schemas/event_themes.py
from typing import Dict, Optional
from uuid import UUID # Add this import
from pydantic import BaseModel, Field, validator, field_validator