migration: preserve startup accounts and system slice

This commit is contained in:
leefer
2026-07-31 00:42:06 +08:00
parent 4083dceba3
commit 4002f096f4
37 changed files with 6821 additions and 6327 deletions
+24
View File
@@ -0,0 +1,24 @@
__all__ = [
"AccountHttpMixin",
"AccountService",
"SecretVault",
"hash_password",
"token_hash",
"verify_password",
]
def __getattr__(name: str):
if name == "AccountHttpMixin":
from .http import AccountHttpMixin
return AccountHttpMixin
if name == "AccountService":
from .service import AccountService
return AccountService
if name in {"SecretVault", "hash_password", "token_hash", "verify_password"}:
from . import security
return getattr(security, name)
raise AttributeError(name)