fix: fixtures文件isort排序+flake8修复
Deploy / Deploy Staging (push) Failing after 133h46m2s
CI/CD Pipeline / Frontend Lint (push) Failing after 133h46m39s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 133h46m39s
Deploy / Production Browser E2E (push) Failing after 1792h20m29s
Deploy / Staging E2E Tests (push) Failing after 1792h20m31s
Deploy / Build Production Runtime Images (push) Failing after 1792h20m33s
Deploy / Deploy Production (push) Failing after 1792h51m56s
Deploy / Deploy Staging (push) Failing after 133h46m2s
CI/CD Pipeline / Frontend Lint (push) Failing after 133h46m39s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 133h46m39s
Deploy / Production Browser E2E (push) Failing after 1792h20m29s
Deploy / Staging E2E Tests (push) Failing after 1792h20m31s
Deploy / Build Production Runtime Images (push) Failing after 1792h20m33s
Deploy / Deploy Production (push) Failing after 1792h51m56s
This commit is contained in:
Regular → Executable
+2
-2
@@ -10,10 +10,10 @@ from app.auth import AuthenticatedUser, get_current_user
|
||||
from app.core.storage import OSSStorageService, get_storage_service
|
||||
from app.dependencies import get_duplication_repository
|
||||
from app.schemas.duplication import (
|
||||
DuplicateSegmentResponse,
|
||||
DuplicationDetailResponse,
|
||||
DuplicationRecordResponse,
|
||||
DuplicationUploadResponse,
|
||||
DuplicateSegmentResponse,
|
||||
)
|
||||
from fastapi import APIRouter, Depends, File, HTTPException, Response, UploadFile, status
|
||||
|
||||
@@ -59,7 +59,7 @@ def _validate_video_mime_type(content_type: str | None) -> str:
|
||||
if base_type not in ALLOWED_VIDEO_MIME_TYPES:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_415_UNSUPPORTED_MEDIA_TYPE,
|
||||
detail=f"只支持视频文件。支持的类型: mp4, mpeg, mov, avi, webm, mkv, 3gp",
|
||||
detail="只支持视频文件。支持的类型: mp4, mpeg, mov, avi, webm, mkv, 3gp",
|
||||
)
|
||||
|
||||
return base_type
|
||||
|
||||
@@ -6,8 +6,6 @@ from dataclasses import replace
|
||||
from datetime import datetime, timezone
|
||||
from typing import List
|
||||
|
||||
from fastapi import APIRouter, Depends, HTTPException, status
|
||||
|
||||
from app.auth import AuthenticatedUser, get_current_user
|
||||
from app.dependencies import get_user_repository
|
||||
from app.schemas.subscription import (
|
||||
@@ -18,6 +16,8 @@ from app.schemas.subscription import (
|
||||
SubscriptionInfo,
|
||||
ToggleAutoRenewRequest,
|
||||
)
|
||||
from fastapi import APIRouter, Depends, HTTPException, status
|
||||
|
||||
from packages.ports.user_repository import UserRepository
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
Reference in New Issue
Block a user