mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
Update bundles example after configuration provider refactoring
This commit is contained in:
parent
e877b33fd1
commit
4b863a659e
|
@ -23,8 +23,7 @@ class Core(containers.DeclarativeContainer):
|
|||
|
||||
if __name__ == '__main__':
|
||||
# Initializing containers
|
||||
core = Core()
|
||||
core.config.update({'database': {'dsn': ':memory:'},
|
||||
core = Core(config={'database': {'dsn': ':memory:'},
|
||||
'aws': {'access_key_id': 'KEY',
|
||||
'secret_access_key': 'SECRET'}})
|
||||
users = Users(database=core.sqlite)
|
||||
|
|
Loading…
Reference in New Issue
Block a user