Skip to content

Commit 4b863a6

Browse files
committed
Update bundles example after configuration provider refactoring
1 parent e877b33 commit 4b863a6

File tree

1 file changed

+1
-2
lines changed
  • examples/miniapps/bundles

1 file changed

+1
-2
lines changed

examples/miniapps/bundles/run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ class Core(containers.DeclarativeContainer):
2323

2424
if __name__ == '__main__':
2525
# Initializing containers
26-
core = Core()
27-
core.config.update({'database': {'dsn': ':memory:'},
26+
core = Core(config={'database': {'dsn': ':memory:'},
2827
'aws': {'access_key_id': 'KEY',
2928
'secret_access_key': 'SECRET'}})
3029
users = Users(database=core.sqlite)

0 commit comments

Comments
 (0)