<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_basket_items(request):

 """
 Get all items in the basket
 """

    bid = basket_id(request)
    return BasketItem.objects.filter(basket_id=bid), bid