def _close_session_impl(self): request = message_pb2.CloseSessionRequest(session_id=self._session_id) response = self._stub.CloseSession(request) return response
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)