diff --git a/backend/app/models/import_settings.py b/backend/app/models/import_settings.py index aa874ea..e5142ca 100644 --- a/backend/app/models/import_settings.py +++ b/backend/app/models/import_settings.py @@ -65,11 +65,11 @@ class ImportSettings(Base): ) @classmethod - async def load(cls, session) -> "ImportSettings": + async def load(cls, session) -> ImportSettings: """The singleton settings row (id=1), via an async session.""" return (await session.execute(select(cls).where(cls.id == 1))).scalar_one() @classmethod - def load_sync(cls, session) -> "ImportSettings": + def load_sync(cls, session) -> ImportSettings: """The singleton settings row (id=1), via a sync session.""" return session.execute(select(cls).where(cls.id == 1)).scalar_one()