Daniel M

Results 66 comments of Daniel M

Happy to have you join me in maintaining it. I will write you an email

Can you post the full stack trace? I am not sure, but I think you don't need to include the event_loop when defining the redis fixture. ```python @pytest.fixture async def...

I don't think this is related to FakeRedis.. See this thread: https://stackoverflow.com/questions/53724665/using-queues-results-in-asyncio-exception-got-future-future-pending-attached I suspect you are creating your FastAPI server and the fakeredis connection on different event-loops

Here you are creating a new event-loop: ```python @pytest.fixture(scope="session") def event_loop(): policy = asyncio.get_event_loop_policy() loop = policy.new_event_loop() yield loop loop.close() ```

@steve-mavens do you mind adding it in the docs? around [here](https://github.com/cunla/fakeredis-py/blob/master/docs/index.md?plain=1#L120) would probably be good.

Do you mind reviewing [this section](https://fakeredis.readthedocs.io/en/latest/#use-to-test-fastapi) in the documentation and see whether it makes sense. If so, close this issue please

Well, I'll keep this open, if any of you can spend some time to improve the docs it would be great. I haven't worked with FastAPI so I am not...

I would be happy to support the package maintenance. I have experience adopting packages and growing them (see https://github.com/cunla/fakeredis-py)

There is a PR fixing the django3 issues.. I don't think the repository owner is looking..