from dishka import BaseScope, Provider, Scope, WithParents, provide_all

from template_project.adapters.generators.resume_embedding_vector import DefaultResumeEmbeddingVectorGenerator
from template_project.adapters.generators.resume_prediction import DefaultResumePredictionGenerator


class OtherProvider(Provider):
    scope: BaseScope | None = Scope.REQUEST

    other_providers = provide_all(
        WithParents[DefaultResumePredictionGenerator],
        WithParents[DefaultResumeEmbeddingVectorGenerator],
    )
