Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom class handler missing BaseHandler #3042

Open
swstack opened this issue Mar 26, 2024 · 0 comments
Open

Custom class handler missing BaseHandler #3042

swstack opened this issue Mar 26, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@swstack
Copy link

swstack commented Mar 26, 2024

馃摎 The doc issue

I believe the docs for a custom class level entry point are missing the base-class BaseHandler. If i'm mistaken, please close this issue.

Link: https://github.com/pytorch/serve/blob/master/docs/custom_service.md#custom-handler-with-class-level-entry-point

Suggest a potential alternative/fix

Replace class ModelHandler(object): with class ModelHandler(BaseHandler):

@lxning lxning added the documentation Improvements or additions to documentation label Mar 26, 2024
@lxning lxning added this to the v0.10.1 milestone Mar 26, 2024
@lxning lxning added this to Backlog in v0.11.0 lifecycle Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Development

No branches or pull requests

2 participants