Skip to content

Commit e7e85f2

Browse files
committed
Add reference to channel in Client
1 parent aad124f commit e7e85f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cisco_gnmi/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def __init__(self, grpc_channel, timeout=_C_MAX_LONG):
9999
Timeout for gRPC functionality.
100100
"""
101101
self.service = proto.gnmi_pb2_grpc.gNMIStub(grpc_channel)
102+
self._channel = grpc_channel
102103

103104
def capabilities(self):
104105
"""Capabilities allows the client to retrieve the set of capabilities that

0 commit comments

Comments
 (0)