From ac18b9c424bfc82f028611f508e1cf8d5b5def43 Mon Sep 17 00:00:00 2001 From: Willem Jiang Date: Sun, 26 Apr 2026 20:36:16 +0800 Subject: [PATCH] Apply the code reviewer suggestion of abstractmethod --- backend/app/gateway/auth/repositories/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/gateway/auth/repositories/base.py b/backend/app/gateway/auth/repositories/base.py index 49e61de40..b5baa02c7 100644 --- a/backend/app/gateway/auth/repositories/base.py +++ b/backend/app/gateway/auth/repositories/base.py @@ -76,7 +76,7 @@ class UserRepository(ABC): a hard failure (not a no-op) so callers cannot mistake a concurrent-delete race for a successful update. """ - ... + raise NotImplementedError @abstractmethod async def count_users(self) -> int: