Remove unused imports across multiple files to clean up the codebase

This commit is contained in:
2026-03-03 17:21:40 +01:00
parent 314780d59a
commit e3c7547c75
8 changed files with 3 additions and 11 deletions

View File

@@ -7,7 +7,6 @@ PostgreSQL ``storage_records`` table.
from __future__ import annotations
import uuid
from typing import Any
from fastapi import APIRouter, Depends, HTTPException, Query, Response, status
from pydantic import BaseModel

View File

@@ -23,7 +23,6 @@ from datetime import datetime, timezone
from sqlalchemy import (
BigInteger,
Boolean,
DateTime,
Enum,
Float,

View File

@@ -9,7 +9,6 @@ from __future__ import annotations
from typing import Any
import boto3
from botocore.exceptions import ClientError
from app.config.settings import settings

View File

@@ -6,7 +6,6 @@ a per-test session, and a FastAPI ``TestClient`` wired to use it.
from __future__ import annotations
import hashlib
import json
import os
import time

View File

@@ -8,11 +8,10 @@ from __future__ import annotations
import time
import pytest
from jose import jwt
from app.config.settings import settings
from tests.conftest import auth_header, make_jwt, TEST_USER_IDS
from tests.conftest import auth_header, TEST_USER_IDS
# ── TestRegister ──────────────────────────────────────────────────────

View File

@@ -8,7 +8,6 @@ from __future__ import annotations
import hashlib
import pytest
from tests.conftest import auth_header, TEST_USER_IDS
@@ -168,7 +167,7 @@ class TestDeleteBackup:
def _get_backup_id(self, client, tier="power") -> str:
"""Upload a backup and return its DB id from history."""
_upload(client, tier=tier)
history = client.get(
client.get(
"/api/v1/backup/history", headers=auth_header(tier)
).json()
# History returns BackupMetadata schema which doesn't have `id`.

View File

@@ -16,7 +16,7 @@ from app.core.orchestrator import (
route_pipeline,
route_single,
)
from app.schemas import ChatContext, ChatRequest, ChatResponse, ExecutionPlan
from app.schemas import ChatRequest, ChatResponse, ExecutionPlan
# ── Stub agents ──────────────────────────────────────────────────────

View File

@@ -9,11 +9,9 @@ Covers:
from __future__ import annotations
import json
import uuid
import pytest
import pytest_asyncio
from sqlalchemy import select
from sqlalchemy.ext.asyncio import AsyncSession