feat: auth dependencies
These dependencies require `user_model_claims_dependency` which requires the `claims_dependency`. This caused an import loop error and therefore they must be defined in a different file from `claims_dependency`. Resolves #6
This commit is contained in:
parent
75f5bc79da
commit
d3d3b2ca63
3 changed files with 40 additions and 63 deletions
|
|
@ -22,7 +22,7 @@ from src.database import db_dependency
|
|||
from src.contact.models import Contact
|
||||
from src.user.models import User
|
||||
from src.user.exceptions import UserNotFoundException
|
||||
from src.auth.service import root_user_query_dependency, claims_dependency
|
||||
from src.auth.service import claims_dependency
|
||||
|
||||
from src.organisation.dependencies import org_model_query_dependency, org_model_body_dependency
|
||||
from src.organisation.constants import ContactType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue