chore: 移除对python3.9的支持 (#67)

* chore: 移除对python3.9的支持

* chore: ci移除python3.9测试
This commit is contained in:
insistence
2026-01-20 15:15:33 +08:00
committed by GitHub
parent f9994a5ce8
commit f5b2bf5adc
65 changed files with 696 additions and 726 deletions
@@ -1,6 +1,6 @@
import os
from datetime import datetime
from typing import Annotated, Literal, Optional, Union
from typing import Annotated, Literal
import aiofiles
from fastapi import File, Form, Path, Query, Request, Response, UploadFile
@@ -290,7 +290,7 @@ async def query_detail_system_user(
query_db: Annotated[AsyncSession, DBSessionDependency()],
current_user: Annotated[CurrentUserModel, CurrentUserDependency()],
data_scope_sql: Annotated[ColumnElement, DataScopeDependency(SysUser)],
user_id: Optional[Union[int, Literal['']]] = '',
user_id: int | Literal[''] | None = '',
) -> Response:
if user_id and not current_user.user.admin:
await UserService.check_user_data_scope_services(query_db, user_id, data_scope_sql)