human
What is a the Python program you requested given the following:
Complete the below
def get_or_create_db_cart(cart_queryset=Cart.objects.all()):

    ''''Get cart or create if necessary. Example: adding items to cart
    :type cart_queryset: saleor.cart.models.CartQueryset'
    '''
assistant
#Here is the Python program you requested.
    def get_cart(view):
        @wraps(view)
        def func(request, *args, **kwargs):
            cart = get_or_create_cart_from_request(request, cart_queryset)
            response = view(request, cart, *args, **kwargs)
            if (not request.user.is_authenticated()):
                set_cart_cookie(cart, response)
            return response
        return func
    return get_cart