<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_item(cls, item_id, **kwargs):
 """Remove item. Remove item from shopping cart This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async=True :param async bool :param str item_id: Item ID to delete. (required) :return: ShoppingCart If the method is called asynchronously, returns the request thread. """

        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._delete_item_with_http_info(item_id, **kwargs)
        else:
            (data) = cls._delete_item_with_http_info(item_id, **kwargs)
            return data