I am study the old blog The Simplest Way to Serve your NLP Model in Production with Pure Python , and I want to practice the snippets in it. But they can not run, such as sklearn_backend.py I got error :
AttributeError: ‘Request’ object has no attribute ‘data’
I don’t know whether the error is caused by the version (my verison is ray, version 1.5.1) ray.serve ? Another, Would you like to tell me what type the “request” is and how to get the methods and properties of the request?
Thank you very much!
BEST REGARDS
Dillon Peng