Roman Mogylatov

Results 116 comments of Roman Mogylatov

Hey @approxit , I have published version `4.14.0` that fixes non-root resources initialization bug. The output of the initial example now looks like this: ```python async def main(): container =...

Hey @approxit , I think I mislead you with my pre-last response and I'm sorry about that. So few things: ---------- 1. In my pre-last response I have suggested to...

Example with callable is terrific: ```python async def main(): container = SomeContainer() await container.init_resources() container.main() await container.shutdown_resources() ``` I have no idea why that works :) I mean why `container.main()`...

Hi @gen-xu. Yes, I agree that it turns to be a problem. Thanks for the PR. I'll look at it later today.

@gen-xu , commented on the PR.

@whysage , no, you can only run it as a C extension

@mattip , this project had 360 000 downloads last month - https://pypistats.org/packages/dependency-injector You were looking at a wrong project with similar name.

> The other approach that people sometimes use is to ship the Cython-generated C files rather than binaries (although obviously that then requires the user to have a C compiler,...

> So how can you reduce the resource requirements ~by three orders of magnitude~? > > * Release a pure-python version of the package. This would reduce both the number...

@mattip Yeah, that's correct. You brought up a lot of interesting suggestions. I don't think I'll be able to apply all mentioned, but I should be able to make some...