def get_recent_notebooks_with_include_personal_notebooks(self,include_personal_notebooks: bool) -> GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder:
        """
        Provides operations to call the getRecentNotebooks method.
        param include_personal_notebooks: Usage: includePersonalNotebooks={includePersonalNotebooks}
        Returns: GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder
        """
        if include_personal_notebooks is None:
            raise TypeError("include_personal_notebooks cannot be null.")
        from .get_recent_notebooks_with_include_personal_notebooks.get_recent_notebooks_with_include_personal_notebooks_request_builder import GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder

        return GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(self.request_adapter, self.path_parameters, include_personal_notebooks)

        Provides operations to call the getRecentNotebooks method.
        param include_personal_notebooks: Usage: includePersonalNotebooks={includePersonalNotebooks}
        Returns: GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder
        
msgraph/generated/groups/item/onenote/notebooks/notebooks_request_builder.py