style: code format
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user