def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder:
        """
        Provides operations to manage the attachments property of the microsoft.graph.event entity.
        param attachment_id: The unique identifier of attachment
        Returns: AttachmentItemRequestBuilder
        """
        if attachment_id is None:
            raise TypeError("attachment_id cannot be null.")
        from .item.attachment_item_request_builder import AttachmentItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["attachment%2Did"] = attachment_id
        return AttachmentItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the attachments property of the microsoft.graph.event entity.
        param attachment_id: The unique identifier of attachment
        Returns: AttachmentItemRequestBuilder
        
msgraph/generated/users/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py