adriangb / di

Pythonic dependency injection
https://www.adriangb.com/di/
MIT License
301 stars 13 forks source link

Remove _results from tasks #18

Closed adriangb closed 3 years ago

adriangb commented 3 years ago

We should just store them in a Dict[Task, result].

Currently, if a solved dependant is executed concurrently, task results will overwrite each other since they share an object.

adriangb commented 3 years ago

Fixed in 583326c