Skip to content

Commit 64ae969

Browse files
committed
fix: use typing.List to be compatible with python3.8
1 parent 55f7c44 commit 64ae969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/user.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def get_users(offset: int = None,
222222
limit: int = None,
223223
username: List[str] = Query(None),
224224
search: Union[str, None] = None,
225-
owner: Union[list[str], None] = Query(None, alias="admin"),
225+
owner: Union[List[str], None] = Query(None, alias="admin"),
226226
status: UserStatus = None,
227227
sort: str = None,
228228
db: Session = Depends(get_db),

0 commit comments

Comments
 (0)