def add_pizza_to_basket(self, item, variant=VARIANT.MEDIUM, quantity=<NUM_LIT:1>):
item_variant = item[variant]<EOL>ingredients = item_variant['<STR_LIT>'].update([<NUM_LIT>, <NUM_LIT>])<EOL>params = {<EOL>'<STR_LIT>': <NUM_LIT:0>,<EOL>'<STR_LIT>': quantity,<EOL>'<STR_LIT>': variant,<EOL>'<STR_LIT>': item.item_id,<EOL>'<STR_LIT>': ingredients,<EOL>'<STR_LIT>': <NUM_LIT:0>,<EOL>'<STR_LIT>': [],<EOL>'<STR_LIT>': <NUM_LIT:0><EOL>}<EOL>return self.__post('<STR_LIT>', json=params)<EOL>
Add a pizza to the current basket.

:param Item item: Item from menu.
:param int variant: Item SKU id. Some defaults are defined in the VARIANT enum.
:param int quantity: The quantity of pizza to be added.
:return: A response having added a pizza to the current basket.
:rtype: requests.Response