docstr: Gets all the items' information associated with the account
  
  limit: puts a limit to the number of items returned
  
  Returns
  response: returns metadata information regarding all the items that are associated with that account
docstr_tok: ["Gets","all","the","items","'","information","associated","with","the","account","limit",":","puts","a","limit","to","the","number","of","items","returned","Returns","response",":","returns","metadata","information","regarding","all","the","items","that","are","associated","with","that","account"]
code: def get_all_items(self, limit: int = None) -> List[Dict[Text, Any]]:
      """
      Gets all the items' information associated with the account
  
      limit: puts a limit to the number of items returned
  
      Returns
      response: returns metadata information regarding all the items that are associated with that account
      """
      sites = self.get_all_sites()
      items = []
      for site in sites:
          site_id = site["id"].split(",")[1]
          for sharepoint_list in self.get_lists_by_site(
              site_id=site_id
          ):
              for item_dict in self.get_items_by_sites_and_lists(
                  site_id=site["id"].split(",")[1],
                  list_id=sharepoint_list["id"],
              ):
                  item_dict["siteName"] = site["name"]
                  item_dict["siteId"] = site["id"].split(",")[1]
                  item_dict["listId"] = sharepoint_list["id"]
                  item_dict["list_name"] = sharepoint_list[
                      "displayName"
                  ]
                  items.append(item_dict)
      if limit:
          items = items[:limit]
      return items
  
imports: from datetime import datetime, timezone
  from typing import Text, List, Dict, Any
  from mindsdb.integrations.handlers.sharepoint_handler.utils import bearer_token_request, get_an_entity, delete_an_entity, update_an_entity, create_an_entity
label_desc: Use image node_id 25 for calling the SharepointAPI obj's underlying member method code with example usage: obj.get_all_items(limit) and returns: items