From f722d9234f4c31d68dc7792d7c284fb87be3780f Mon Sep 17 00:00:00 2001 From: nendo Date: Mon, 8 Jun 2026 10:57:09 +0900 Subject: [PATCH] Remove comment on files field --- backend/endpoints/responses/rom.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/endpoints/responses/rom.py b/backend/endpoints/responses/rom.py index 1f1d447db..f76153d41 100644 --- a/backend/endpoints/responses/rom.py +++ b/backend/endpoints/responses/rom.py @@ -348,10 +348,6 @@ class SiblingRomSchema(BaseModel): class SimpleRomSchema(RomSchema): sibling_ids: list[int] - # `files` binds to a dedicated attribute via validation alias rather than the - # `Rom.files` relationship: that keeps the full file list out of the default - # gallery payload, and avoids tripping the relationship's lazy="raise" in - # factory contexts where files aren't loaded. Populated only when requested. files: list[RomFileSchema] = Field( default_factory=list, validation_alias="included_files" )