feat: Implement MFA authentication, add ride statistics model, and update various services, APIs, and tests across the application.

This commit is contained in:
pacnpal
2025-12-28 17:32:53 -05:00
parent aa56c46c27
commit c95f99ca10
452 changed files with 7948 additions and 6073 deletions

View File

@@ -57,8 +57,10 @@ def run_migrations_online() -> None:
# Import SQLAlchemy lazily so environments without it (e.g. static analyzers)
# don't fail at module import time.
try:
from sqlalchemy import engine_from_config # type: ignore
from sqlalchemy import pool # type: ignore
from sqlalchemy import (
engine_from_config, # type: ignore
pool, # type: ignore
)
except ImportError as exc:
raise RuntimeError(
"SQLAlchemy is required to run online Alembic migrations. "

View File

@@ -6,8 +6,8 @@ Create Date: 2025-06-17 15:00:00.000000
"""
from alembic import op # type: ignore
import sqlalchemy as sa # type: ignore
from alembic import op # type: ignore
# revision identifiers, used by Alembic.
revision = "20250617"