Remove comment on files field

This commit is contained in:
nendo
2026-06-08 10:57:09 +09:00
parent 37f0feab8c
commit f722d9234f

View File

@@ -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"
)