mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +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.config.from_yaml('config.yml')
|
||||
application.core.init_resources()
|
||||
application.wire(modules=[sys.modules[__name__]])
|
||||
application.wire(modules=[__name__])
|
||||
|
||||
main(*sys.argv[1:])
|
||||
|
|
Loading…
Reference in New Issue
Block a user