def get_by_path_with_path(self,path: str) -> GetByPathWithPathRequestBuilder:
        """
        Provides operations to call the getByPath method.
        param path: Usage: path='{path}'
        Returns: GetByPathWithPathRequestBuilder
        """
        if path is None:
            raise TypeError("path cannot be null.")
        from .get_by_path_with_path.get_by_path_with_path_request_builder import GetByPathWithPathRequestBuilder

        return GetByPathWithPathRequestBuilder(self.request_adapter, self.path_parameters, path)

        Provides operations to call the getByPath method.
        param path: Usage: path='{path}'
        Returns: GetByPathWithPathRequestBuilder
        
msgraph/generated/sites/item/site_item_request_builder.py