mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 13:12:24 +00:00
Update return schema of query interface (#492)
* Update return model of query interface * Update tree data return type hints * Update code generation and task return types * Fix inconsistency between ORM query result and schema
This commit is contained in:
@@ -31,7 +31,7 @@ class UpdateLoginLogParam(LoginLogSchemaBase):
|
||||
pass
|
||||
|
||||
|
||||
class GetLoginLogListDetails(LoginLogSchemaBase):
|
||||
class GetLoginLogDetail(LoginLogSchemaBase):
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
id: int
|
||||
|
||||
Reference in New Issue
Block a user