mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-04-27 12:18:14 +00:00
Apply the code reviewer suggestion of abstractmethod
This commit is contained in:
parent
35ef8b7c13
commit
ac18b9c424
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user