chain-service/chain_service/dependencies/progress_action_service_factory.py
2024-02-28 18:09:30 +07:00

14 lines
400 B
Python

from chain_service.services.progress_action.factory import ProgressActionServiceFactory
from fastapi import Depends
from typing import Annotated
def get_progress_action_service_factory() -> ProgressActionServiceFactory:
return ProgressActionServiceFactory()
ProgressActionServiceFactoryDependency = Annotated[
ProgressActionServiceFactory, Depends(get_progress_action_service_factory)
]