mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-16 19:40:59 +03:00
Update example
This commit is contained in:
parent
f436a3c42e
commit
57366a1f7b
|
@ -20,6 +20,6 @@ def main(service: Service = Provide[Container.service]) -> None:
|
|||
|
||||
if __name__ == '__main__':
|
||||
container = Container()
|
||||
container.wire(modules=["__main__"])
|
||||
container.wire(modules=[__name__])
|
||||
|
||||
main()
|
||||
|
|
Loading…
Reference in New Issue
Block a user