You've already forked RekomenciBackend
28 lines
1.2 KiB
Python
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,
|
|
)
|