def discard_checkout(self) -> DiscardCheckoutRequestBuilder:
        """
        Provides operations to call the discardCheckout method.
        """
        from .discard_checkout.discard_checkout_request_builder import DiscardCheckoutRequestBuilder

        return DiscardCheckoutRequestBuilder(self.request_adapter, self.path_parameters)

        Provides operations to call the discardCheckout method.
        
msgraph/generated/drives/item/items/item/drive_item_item_request_builder.py