class_docstr: Concrete implementation of GSpreadClient.
class_docstr_tok: ["Concrete","implementation","of","GSpreadClient","."]
code: def get_all_records(
      self,
      sid: sheets_id.SheetsIdentifier,
      worksheet_id: int,
  ) -> tuple[Sequence[Mapping[str, str]], Callable[[], None]]:
      sheet = self._open(sid)
      worksheet = sheet.get_worksheet(worksheet_id)
  
      if self._ipython_env is not None:
          env = self._ipython_env
  
          def _display_fn():
              env.display_html(
                  "Reading inputs from worksheet {}".format(
                      html_utils.get_anchor_tag(
                          url=sheets_id.SheetsURL(worksheet.url),
                          text="{} in {}".format(
                              worksheet.title, sheet.title
                          ),
                      )
                  )
              )
  
      else:
  
          def _display_fn():
              print(
                  "Reading inputs from worksheet {} in {}".format(
                      worksheet.title, sheet.title
                  )
              )
  
      return worksheet.get_all_records(), _display_fn
  
imports: from __future__ import annotations
  import abc
  import datetime
  from typing import Any, Callable, Mapping, Sequence
  from google.auth import credentials
  from google.generativeai.notebook import html_utils
  from google.generativeai.notebook import ipython_env
  from google.generativeai.notebook import sheets_id
label_desc: Use image node_id 4 for calling the GSpreadClientImpl obj's underlying member method code with example usage: obj.get_all_records(sid, worksheet_id) and returns: worksheet,  _display_fn