mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-16 19:40:59 +03:00
Update multiple containers example
This commit is contained in:
parent
3e2a0049d7
commit
3dca5c2933
|
@ -26,6 +26,6 @@ if __name__ == '__main__':
|
||||||
application = Application()
|
application = Application()
|
||||||
application.config.from_yaml('config.yml')
|
application.config.from_yaml('config.yml')
|
||||||
application.core.init_resources()
|
application.core.init_resources()
|
||||||
application.wire(modules=[sys.modules[__name__]])
|
application.wire(modules=[__name__])
|
||||||
|
|
||||||
main(*sys.argv[1:])
|
main(*sys.argv[1:])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user