def learning_contents_with_external_id(self,external_id: str) -> LearningContentsWithExternalIdRequestBuilder:
        """
        Provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity.
        param external_id: Alternate key of learningContent
        Returns: LearningContentsWithExternalIdRequestBuilder
        """
        if external_id is None:
            raise TypeError("external_id cannot be null.")
        from .learning_contents_with_external_id.learning_contents_with_external_id_request_builder import LearningContentsWithExternalIdRequestBuilder

        return LearningContentsWithExternalIdRequestBuilder(self.request_adapter, self.path_parameters, external_id)

        Provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity.
        param external_id: Alternate key of learningContent
        Returns: LearningContentsWithExternalIdRequestBuilder
        
msgraph/generated/employee_experience/learning_providers/item/learning_provider_item_request_builder.py