You've already forked RekomenciBackend
add pipline
This commit is contained in:
@@ -23,6 +23,7 @@ from template_project.web_api.configuration import (
|
||||
Configuration,
|
||||
DatabaseConfiguration,
|
||||
FirebaseConfiguration,
|
||||
MlApiConfiguration,
|
||||
S3Config,
|
||||
ServerConfiguration,
|
||||
YandexOAuthConfiguration,
|
||||
@@ -35,6 +36,7 @@ from template_project.web_api.ioc.idp import IdPProvider
|
||||
from template_project.web_api.ioc.interactor import InteractorProvider
|
||||
from template_project.web_api.ioc.notifications import NotificationServiceProvider
|
||||
from template_project.web_api.ioc.oauth import OAuthClientProvider
|
||||
from template_project.web_api.ioc.other import OtherProvider
|
||||
from template_project.web_api.ioc.storage import StorageProvider
|
||||
from tests.web_api.test_api_gateway import TestApiGateway
|
||||
|
||||
@@ -91,6 +93,7 @@ def make_ioc(configuration: Configuration, app: FastAPI) -> AsyncContainer:
|
||||
NotificationServiceProvider(),
|
||||
StorageProvider(),
|
||||
TestProvider(),
|
||||
OtherProvider(),
|
||||
validation_settings=STRICT_VALIDATION,
|
||||
context={
|
||||
ServerConfiguration: configuration.server,
|
||||
@@ -100,6 +103,7 @@ def make_ioc(configuration: Configuration, app: FastAPI) -> AsyncContainer:
|
||||
FirebaseConfiguration: configuration.firebase,
|
||||
Configuration: configuration,
|
||||
S3Config: configuration.s3,
|
||||
MlApiConfiguration: configuration.ml_api,
|
||||
FastAPI: app,
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user