async def get(self,request_configuration: Optional[RequestConfiguration[GetAllSitesRequestBuilderGetQueryParameters]] = None) -> Optional[GetAllSitesGetResponse]:
        """
        List sites across geographies in an organization. This API can also be used to enumerate all sites in a non-multi-geo tenant. For more information, see Best practices for discovering files and detecting changes at scale.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[GetAllSitesGetResponse]
        Find more info here: https://learn.microsoft.com/graph/api/site-getallsites?view=graph-rest-1.0
        """
        request_info = self.to_get_request_information(
            request_configuration
        )
        from ...models.o_data_errors.o_data_error import ODataError

        error_mapping: dict[str, type[ParsableFactory]] = {
            "XXX": ODataError,
        }
        if not self.request_adapter:
            raise Exception("Http core is null") 
        from .get_all_sites_get_response import GetAllSitesGetResponse

        return await self.request_adapter.send_async(request_info, GetAllSitesGetResponse, error_mapping)

        List sites across geographies in an organization. This API can also be used to enumerate all sites in a non-multi-geo tenant. For more information, see Best practices for discovering files and detecting changes at scale.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[GetAllSitesGetResponse]
        Find more info here: https://learn.microsoft.com/graph/api/site-getallsites?view=graph-rest-1.0
        
msgraph/generated/sites/get_all_sites/get_all_sites_request_builder.py