Fix a circular reference issue between users and the auth service

This commit is contained in:
Campbell Alden 2026-08-15 00:12:38 +09:00
parent 583a5737a6
commit 5060f6a97f
4 changed files with 4 additions and 8 deletions

View file

@ -7,7 +7,7 @@ from dataclasses import dataclass, asdict
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey
import jwt
from src.services.users import User
from src.services.users.data import User
from src.config.auth import Auth as AuthConfig
JWT = str

View file

@ -1,5 +0,0 @@
from .data import User, UserProfile, UserDTO, SignupError, LoginError
from .service import UserService
from .repo import UserRepo
__all__ = ['User', 'UserProfile', 'UserDTO', 'SignupError', 'LoginError', 'UserService', 'UserRepo']