Bootstrap cleanup

This commit is contained in:
Leo Vasanko
2025-08-06 23:56:13 -06:00
parent f050dfb3f2
commit 07f5cf84fc
4 changed files with 28 additions and 89 deletions

View File

@@ -231,15 +231,6 @@ class DatabaseInterface(ABC):
) -> None:
"""Create a new user and their first credential in a transaction."""
# Bootstrap helpers
@abstractmethod
async def has_any_users(self) -> bool:
"""Check if any users exist in the system."""
@abstractmethod
async def find_users_by_role(self, role: str) -> list[User]:
"""Find all users with a specific role."""
__all__ = [
"User",