mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 14:56:01 +00:00
more cleanup
This commit is contained in:
@@ -202,12 +202,11 @@ class DBRomsHandler(DBBaseHandler):
|
||||
return []
|
||||
return session.scalars(query.filter(Rom.id.in_(ids))).all()
|
||||
|
||||
@begin_session
|
||||
def get_sibling_ids_for_roms(
|
||||
self,
|
||||
rom_ids: list[int],
|
||||
*,
|
||||
session: Session = None, # type: ignore
|
||||
session: Session,
|
||||
) -> dict[int, list[int]]:
|
||||
"""Return {rom_id: [sibling_rom_id, ...]} for the given rom IDs.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user