docstr: Gets lists' information corresponding to a site
  
  site_id:  GUID of a site
  limit: limits the number of lists for which information is returned
  
  Returns
  response: metadata information/ fields corresponding to lists of the site
docstr_tok: ["Gets","lists","'","information","corresponding","to","a","site","site_id",":","GUID","of","a","site","limit",":","limits","the","number","of","lists","for","which","information","is","returned","Returns","response",":","metadata","information\/","fields","corresponding","to","lists","of","the","site"]
code: def get_lists_by_site(
      self, site_id: str, limit: int = None
  ) -> List[Dict[Text, Any]]:
      """
      Gets lists' information corresponding to a site
  
      site_id:  GUID of a site
      limit: limits the number of lists for which information is returned
  
      Returns
      response: metadata information/ fields corresponding to lists of the site
      """
      url = f"https://graph.microsoft.com/v1.0/sites/{site_id}/lists"
      response = get_an_entity(url=url, bearer_token=self.bearer_token)
      if limit:
          response = response[:limit]
      return response
  
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 8 for calling the SharepointAPI obj's underlying member method code with example usage: obj.get_lists_by_site(site_id, limit) and returns: response