This commit is contained in:
Yeuoly
2024-09-23 13:09:46 +08:00
parent 91cb80f795
commit 435e71eb60
10 changed files with 164 additions and 67 deletions

View File

@ -3,7 +3,7 @@ from typing import Generic, Optional, TypeVar
from pydantic import BaseModel
T = TypeVar("T", bound=(BaseModel | dict | bool))
T = TypeVar("T", bound=(BaseModel | dict | list | bool))
class PluginDaemonBasicResponse(BaseModel, Generic[T]):