code: def get_layer_credentials(carto_auth) -> dict:
      """Get the layer credentials object to gather information
      from carto warehouses.
  
      The return object has the following structure:
      ``{"apiVersion": "v3", "apiBaseUrl": "...", "accessToken": "...",}``
      """
      api_base_url = carto_auth.get_api_base_url()
      access_token = carto_auth.get_access_token()
      return {
          "apiVersion": "v3",
          "apiBaseUrl": api_base_url,
          "accessToken": access_token,
      }
  
imports: import pydeck
label_desc: Use image node_id 2 for calling a global function with example usage: get_layer_credentials(carto_auth) and returns: dict