Skip to content

Commit

Permalink
fix: wrong self annotations (#3397)
Browse files Browse the repository at this point in the history
revert a worng annotation while refactoring servicer for different stubs version.
  • Loading branch information
aarnphm committed Jan 6, 2023
1 parent 572215f commit 931dedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bentoml/_internal/server/grpc/servicer/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class BentoServiceImpl(services.BentoServiceServicer):
"""An asyncio implementation of BentoService servicer."""

async def Call( # type: ignore (no async types) # pylint: disable=invalid-overridden-method
self: services.BentoServiceServicer,
self,
request: pb.Request,
context: BentoServicerContext,
) -> pb.Response | None:
Expand Down

0 comments on commit 931dedc

Please sign in to comment.