code: def authorize(creds: credentials.Credentials) -> None:
      """Sets up credentials.
  
      This is used for interacting Google APIs, such as Google Sheets.
  
      Args:
        creds: The credentials that will be used (e.g. to read from Google Sheets.)
      """
      gspread_client.authorize(creds=creds, env=_get_ipython_env())
  
imports: from __future__ import annotations
  import abc
  from google.auth import credentials
  from google.generativeai import client
  from google.generativeai.notebook import gspread_client
  from google.generativeai.notebook import ipython_env
  from google.generativeai.notebook import ipython_env_impl
  from google.generativeai.notebook import magics_engine
  from google.generativeai.notebook import post_process_utils
  from google.generativeai.notebook import sheets_utils
  import IPython
  from IPython.core import magic
label_desc: Use image node_id 2 for calling a global function with example usage: authorize(creds) without return types