You've already forked RekomenciBackend
20 lines
824 B
Python
20 lines
824 B
Python
from dishka import BaseScope, Provider, Scope, provide_all
|
|
|
|
from template_project.application.auth_identity.interactors.sign_in import SignInInteractor
|
|
from template_project.application.auth_identity.interactors.sign_up import SignUpInteractor
|
|
from template_project.application.user.notification.interactors.send_notification import NotificationInteractor
|
|
from template_project.application.user.profile.interactors.get_profile import GetProfileInteractor
|
|
from template_project.application.user.profile.interactors.patch_profile import PatchProfileInteractor
|
|
|
|
|
|
class InteractorProvider(Provider):
|
|
scope: BaseScope | None = Scope.REQUEST
|
|
|
|
interactors = provide_all(
|
|
SignInInteractor,
|
|
SignUpInteractor,
|
|
GetProfileInteractor,
|
|
PatchProfileInteractor,
|
|
NotificationInteractor,
|
|
)
|