Update bundles example after configuration provider refactoring

This commit is contained in:
Roman Mogylatov 2018-01-24 19:58:34 +02:00
parent e877b33fd1
commit 4b863a659e

View File

@ -23,8 +23,7 @@ class Core(containers.DeclarativeContainer):
if __name__ == '__main__': if __name__ == '__main__':
# Initializing containers # Initializing containers
core = Core() core = Core(config={'database': {'dsn': ':memory:'},
core.config.update({'database': {'dsn': ':memory:'},
'aws': {'access_key_id': 'KEY', 'aws': {'access_key_id': 'KEY',
'secret_access_key': 'SECRET'}}) 'secret_access_key': 'SECRET'}})
users = Users(database=core.sqlite) users = Users(database=core.sqlite)