Files
RekomenciBackend/src/template_project/web_api/ioc/interactor.py
T
ivankirpichnikov d9a3c39980 add resume
2025-11-22 02:17:18 +03:00

28 lines
1.2 KiB
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.notification_device.interactors.register_device import (
RegisterNotificationDeviceInteractor,
)
from template_project.application.notification_device.interactors.send_notification import NotificationInteractor
from template_project.application.resume.interactors.add import AddResumeInteractor
from template_project.application.resume.interactors.get import GetResumeInteractor
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,
RegisterNotificationDeviceInteractor,
GetResumeInteractor,
AddResumeInteractor,
)