Skip to content

Commit

Permalink
Make class variable real private
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayv25 committed Sep 19, 2023
1 parent 6a18b6c commit fbd5035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/library/tritonclient/grpc/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ class CallContext:
"""

def __init__(self, grpc_future):
self._grpc_future = grpc_future
self.__grpc_future = grpc_future

def cancel(self):
"""Issues cancellation on the underlying request."""
self._grpc_future.cancel()
self.__grpc_future.cancel()


class InferenceServerClient(InferenceServerClientBase):
Expand Down

0 comments on commit fbd5035

Please sign in to comment.