Automated Action 439330125e Fix code linting issues
- Fix unused imports in API endpoints
- Add proper __all__ exports in model and schema modules
- Add proper TYPE_CHECKING imports in models to prevent circular imports
- Fix import order in migrations
- Fix long lines in migration scripts
- All ruff checks passing
2025-06-05 16:58:14 +00:00

18 lines
302 B
Python

from typing import Optional
from pydantic import BaseModel
class Token(BaseModel):
"""
Schema for authentication token response.
"""
access_token: str
token_type: str
class TokenPayload(BaseModel):
"""
Schema for JWT token payload.
"""
sub: Optional[str] = None