This is an exceptional solution provided for async deployment and model serving.
I wanted to enquire if there are examples of unit tests for this. I have been continuously struggling with unit tests for sanic async post method with the following error:
async with self.queue_lock:
AttributeError: __aenter__
I am getting this error for the line:
58 async with self.queue_lock:
59 if len(self.queue) >= MAX_QUEUE_SIZE:
Hi,
This is an exceptional solution provided for async deployment and model serving.
I wanted to enquire if there are examples of unit tests for this. I have been continuously struggling with unit tests for sanic async post method with the following error:
I am getting this error for the line:
The test I am trying:
Please do let me know if anyone has come across this and have a solution.