Skip to content

Conversation

@TheMihMih
Copy link
Collaborator

Добавил инициализацию зависимостей через дишку в оставшиеся миграции

role_dao = RoleDAO(session)
ace_dao = AccessControlEntryDAO(session)
role_use_case = RoleUseCase(role_dao, ace_dao)
async with container(scope=Scope.REQUEST) as cnt:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Сессию получить из контейнера тоже

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants