style: code format

This commit is contained in:
Lan
2025-02-15 22:00:53 +08:00
parent 7b0ea804cf
commit 10d136b0c5
14 changed files with 404 additions and 311 deletions
+2 -2
View File
@@ -6,10 +6,10 @@ from typing import Generic, TypeVar
from pydantic.v1.generics import GenericModel
T = TypeVar('T')
T = TypeVar("T")
class APIResponse(GenericModel, Generic[T]):
code: int = 200
message: str = 'ok'
message: str = "ok"
detail: T