code: def _retryable_write(self, retryable, func, session):
          
          with self._tmp_session(session) as s:
              return self._retry_with_session(retryable, func, s, None)
docs: Internal retryable write helper.