Exemple #1
0
 def _close_session_impl(self):
     request = message_pb2.CloseSessionRequest(session_id=self._session_id)
     response = self._stub.CloseSession(request)
     return response
Exemple #2
0
 def _close_session_impl(self, stop_instance=True):
     request = message_pb2.CloseSessionRequest(session_id=self._session_id,
                                               stop_instance=stop_instance)
     response = self._stub.CloseSession(request)
     return check_grpc_response(response)