From 9d18dacbe80092b8cc3f1ca398cd77b45973baef Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 28 May 2026 14:08:24 -0400 Subject: [PATCH] =?UTF-8?q?fix(lint):=20UP037=20=E2=80=94=20drop=20quotes?= =?UTF-8?q?=20from=20ImportSettings.load=20return=20annotations=20(py3.14?= =?UTF-8?q?=20deferred=20annotations)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 (1M context) --- backend/app/models/import_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()