rollback aiopathlib

This commit is contained in:
jxxghp
2026-03-24 09:06:44 +08:00
parent 80e35fa938
commit 78b8b30351
11 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import shutil
from typing import Annotated, Any, List, Optional
import aiofiles
from aiopathlib import AsyncPath
from anyio import Path as AsyncPath
from fastapi import APIRouter, Depends, Header, HTTPException
from fastapi.concurrency import run_in_threadpool
from starlette import status
+1 -1
View File
@@ -7,7 +7,7 @@ from typing import Optional, Union, Annotated
import aiofiles
import pillow_avif # noqa 用于自动注册AVIF支持
from aiopathlib import AsyncPath
from anyio import Path as AsyncPath
from app.helper.sites import SitesHelper # noqa # noqa
from fastapi import APIRouter, Body, Depends, HTTPException, Header, Request, Response
from fastapi.responses import StreamingResponse
+1 -1
View File
@@ -3,7 +3,7 @@ import json
from typing import Annotated, Callable, Any, Dict, Optional
import aiofiles
from aiopathlib import AsyncPath
from anyio import Path as AsyncPath
from fastapi import APIRouter, Body, Depends, HTTPException, Path, Request, Response
from fastapi.responses import PlainTextResponse
from fastapi.routing import APIRoute