Fix a circular reference issue between users and the auth service
This commit is contained in:
parent
583a5737a6
commit
5060f6a97f
4 changed files with 4 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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']
|
||||
Loading…
Add table
Add a link
Reference in a new issue