def get_selected_shipping_method(request):
    customer = customer_utils.get_customer(request)
    if customer and customer.selected_shipping_method:
        return customer.selected_shipping_method
    else:
        return get_default_shipping_method(request)
Returns the selected shipping method for the passed request.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/shipping/utils.py/get_selected_shipping_method