- Removed unnecessary blank lines and adjusted formatting in test files. - Ensured consistent use of commas in function calls and assertions across various test cases. - Updated import statements for better organization and clarity. - Enhanced mock setups in tests for better isolation and reliability. - Improved assertions to follow a consistent style for better readability.
22 lines
447 B
Python
22 lines
447 B
Python
"""Common response schemas."""
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class MessageResponse(BaseModel):
|
|
"""Generic message response."""
|
|
|
|
message: str = Field(description="Response message")
|
|
|
|
|
|
class StatusResponse(BaseModel):
|
|
"""Generic status response."""
|
|
|
|
status: str = Field(description="Status message")
|
|
|
|
|
|
class HealthResponse(BaseModel):
|
|
"""Health check response."""
|
|
|
|
status: str = Field(description="Health status")
|