Denis Abramov

Results 4 comments of Denis Abramov

Any update on merging this?

For process-scope I have figured out how to achieve it: ``` import threading class MyController: def __init__(): self.context = threading.local() di[IMyService] = lambda _: self.context.my_service def process_api_request(self, request): self.context.my_service =...

Ideally I’d like to see it like the following - will try to work on it when I have some free time and create a PR: ``` class MyController: def...

Thank you for that. The scoped isn't really right. What if you want to create multiple services that are all valid in 1 scope? Essentially you would want a Container()...