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:
@@ -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()
|
||||
|
||||
|
||||
@@ -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]):
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user