You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should update the Python wrapper to add more streamlined code paths.
For REST requests always parse into proto buffers and have a central shared processing step that is general to gRPC and REST and works on the proto buffers.
Convert the various components - models, transformers, routers etc to use a single code base as there is a lot of shared code.
This work could be Python 3 specific and add in some of the tasks such as #392
The text was updated successfully, but these errors were encountered:
Closely related we should have a think about function signatures for components written in Python. It makes sense to keep these clean and data-science focused (e.g. predict should take features X directly rather than the full SeldonMessage request) at the cost of us doing the SeldonMessage parsing when they enter and exit the component in the wrappers, but the user might want more flexibility (e.g. #407 where they might want access to the SeldonMessage metadata from within the component).
EDIT: I forgot we already have the functionality of working with raw SeldonMessages via defining low-level *_rest and *_grpc methods in the components, e.g.:
* Add extension method to set number of KStream threads in pipeline config
* Add method to calc num KStream threads from pipeline size
* Set number of KStream threads per pipeline
We should update the Python wrapper to add more streamlined code paths.
This work could be Python 3 specific and add in some of the tasks such as #392
The text was updated successfully, but these errors were encountered: