You've already forked RekomenciBackend
add pipline
This commit is contained in:
@@ -6,6 +6,7 @@ from template_project.web_api.configuration import (
|
||||
Configuration,
|
||||
DatabaseConfiguration,
|
||||
FirebaseConfiguration,
|
||||
MlApiConfiguration,
|
||||
S3Config,
|
||||
ServerConfiguration,
|
||||
YandexOAuthConfiguration,
|
||||
@@ -20,6 +21,7 @@ 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
|
||||
|
||||
|
||||
@@ -35,6 +37,7 @@ def make_ioc(configuration: Configuration) -> AsyncContainer:
|
||||
OAuthClientProvider(),
|
||||
NotificationServiceProvider(),
|
||||
StorageProvider(),
|
||||
OtherProvider(),
|
||||
validation_settings=STRICT_VALIDATION,
|
||||
context={
|
||||
ServerConfiguration: configuration.server,
|
||||
@@ -44,5 +47,6 @@ def make_ioc(configuration: Configuration) -> AsyncContainer:
|
||||
FirebaseConfiguration: configuration.firebase,
|
||||
Configuration: configuration,
|
||||
S3Config: configuration.s3,
|
||||
MlApiConfiguration: configuration.ml_api,
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user