Diogo Dutra
Diogo Dutra
I worked in this issue on the branch: https://github.com/dutradda/bake/tree/include-bakefiles I am waiting 1st October to open the PR :)
Any progress here? I want to use pub/sub with asyncio, but I need hiredis support for my client. I still use redis-py until this bug is fixed.
@asvetlov thank you, I will
Hello @thomasleveil ! If understood your question right, apidaora does not have feature to prevent the same request to be called more then once. But I think it is possible...
@thomasleveil I think we can do it using the [middlewares](https://dutradda.github.io/apidaora/using-middlewares/) module, I will try to do it and I will return to you
@thomasleveil I have implemented a simple middleware that prevents the request to be called until the body was processed. Here is an example how to use it: https://dutradda.github.io/apidaora/using-prevent-request-middleware/ The code...
> Also, I really like how you implemented this backgroundTask system and I wonder if it could be extracted into its own python module so that it could be used...
@thomasleveil I can implement the blocking request on the background tasks feature so. It is what you want, right?
hello @thomasleveil I have implemented the feature you request! 🎉 Take a look on documentation and tell me what you think: https://dutradda.github.io/apidaora/background-task-controller/using-background-task-controller-lock-args-redis/
> For both tasks, the task_key should indeed be the same in order to perform the deduplication ; but task_id should be unique per task. You are right @thomasleveil ,...