Skip to content

Commit bdcbda9

Browse files
committed
Removed unused response
1 parent 464a79f commit bdcbda9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

immudb/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
1515

1616
from immudb import grpcutils
17-
from immudb.grpc.schema_pb2 import OpenSessionResponse
1817
from immudb.handler import (batchGet, batchSet, changePassword, changePermission, createUser,
1918
currentRoot, createDatabase, databaseList, deleteKeys, useDatabase,
2019
get, listUsers, sqldescribe, verifiedGet, verifiedSet, setValue, history,
@@ -180,7 +179,7 @@ def openSession(self, username, password, database=b"defaultdb"):
180179
password=convertedPassword,
181180
databaseName=convertedDatabase
182181
)
183-
self._session_response = schema_pb2_grpc.schema__pb2.OpenSessionResponse = self.__stub.OpenSession(
182+
self._session_response = self.__stub.OpenSession(
184183
req)
185184
self.__stub = self.set_session_id_interceptor(self._session_response)
186185
return transaction.Tx(self.__stub, self._session_response, self.channel)

0 commit comments

Comments
 (0)