Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Content-Length: 261284 | pFad | http://github.com/ets-labs/python-dependency-injector/discussions/825
8CFetched URL: http://github.com/ets-labs/python-dependency-injector/discussions/825
Alternative Proxies:
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I'm trying to create a Controller object that I expect to be taken from the container to the initializer of the SomeEntity class and so that it is built automatically from the arguments that are next to it (arg1, arg2) in the initializer of the SomeEntity class. I would also like to pass these arguments to the next object (SomeCls) inside the Controller - can I do such a chain?
What should I substitute for the '???' signs? Tried dynamic container but didn't work
Why don’t I see the difference between the @Inject decorator attached to the initializer of the SomeEntity class and without this decorator? All classes are in different modules
Beta Was this translation helpful? Give feedback.
All reactions