modern-python / that-depends

DI-framework, inspired by python-dependency-injector, but without wiring. Python 3.12 is supported
https://that-depends.readthedocs.io/
MIT License
156 stars 12 forks source link

Bugfix/inject and lock #22

Closed lesnik512 closed 5 months ago

lesnik512 commented 5 months ago
  1. Simplify inject method: remove overloading
  2. Add asyncio.Lock to singleton and resources in order to prevent race condition