HI @clokep , thanks for the package. I'm interested to know a bit more about the class SimpleRequest . As mentioned in the doc string for class SimpleRequest (SimpleRequest generally should have the same properties as :class:~celery.worker.request.Request), but in the code class SimpleRequest has only the subset of properties , compared to the class:~celery.worker.request.Request.
So if I want to use some of the methods (ex. send_event ) or properties of the class:~celery.worker.request.Request, what will be the suggested/best way that I can do with the class SimpleRequest
My use case : I want to send the send_event('task-succeeded') after processing and saving(in result backend) the result of the each request(which I received from the list of batched requests), so Flower (monitoring tool) or any other event listener can mark that the request was successfully processed. Other wise the request is in pending state only.
HI @clokep , thanks for the package. I'm interested to know a bit more about the
class SimpleRequest. As mentioned in the doc string forclass SimpleRequest(SimpleRequest generally should have the same properties as :class:~celery.worker.request.Request), but in the codeclass SimpleRequesthas only the subset of properties , compared to the class:~celery.worker.request.Request.So if I want to use some of the methods (ex. send_event ) or properties of the class:
~celery.worker.request.Request, what will be the suggested/best way that I can do with theclass SimpleRequestMy use case : I want to send the
send_event('task-succeeded')after processing and saving(in result backend) the result of the each request(which I received from the list of batched requests), so Flower (monitoring tool) or any other event listener can mark that the request was successfully processed. Other wise the request is in pending state only.