use apipathlib

This commit is contained in:
jxxghp
2025-08-17 09:00:02 +08:00
parent 086b1f1403
commit 1ab2da74b9
8 changed files with 16 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ import shutil
from typing import Annotated, Any, List, Optional
import aiofiles
from aiopath 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