python-dependency-injector
                                
                                 python-dependency-injector copied to clipboard
                                
                                    python-dependency-injector copied to clipboard
                            
                            
                            
                        Dependency injection framework for Python
Hi, I'm currently struggeling on how to get this to work. I have a third party "factory method" that provides me with a method I can use in FastAPI's Depends...
Help, pls! I really don't understand how I can integrate `python-dependency-injector` in my project 😔😭 When using a container in my application, cyclical dependencies that look like: `Container -> core...
I faced with a problem, but i found out that it's in your TODO's.
Here suppose deposit updated successfully but user balance not updated because of error. in that case how to rollback ``` def status_change(self,id: int, entity: DepositUpdate) -> Deposit: # first call...
Pretty general question that is probably up for debate to the public. I have a file structure as such  You can see that containers is in the top level...
Hello, I am trying to inject a service (DynamoDB) to a class, but I keep getting the error `AttributeError: 'Provide' object has no attribute 'Table'`. I checked previous issues, but...
lets say we has some simple config file: ```yaml search: host: 127.0.0.1 port: '1234' token: '[some token for search backend]' report_to: [email protected], some_repo: https://backend.com, ``` and we want that it...
For example, I have 1 use case, it has 3 dependencies - Session, ProductRepository, and UserRepository; repositories depend on session. Could I pass single SQLAlchemy session to all them? When...
Wiring can potentially introspect closures which can help on the way of making ``@inject`` unnecessary
Hi, I really like this package and am using it in production. I was tying to mess around with decorators because I want to add side effects to a function,...