From ec4059d5057d4d0d1a5d9a08b685c3f63e526535 Mon Sep 17 00:00:00 2001 From: Yarne Coppens Date: Sun, 29 Sep 2024 16:58:14 +0200 Subject: [PATCH] Added new products to product_list --- src/data_connection.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/data_connection.py b/src/data_connection.py index 5233e07..029c7fc 100644 --- a/src/data_connection.py +++ b/src/data_connection.py @@ -59,7 +59,10 @@ husky = product_classes.Product(name="husky", price=10.0, barcode=1043 ,image_fi snake = product_classes.Product(name="snake", price=10.0, barcode=1044 ,image_filename="animals/snake") turtle = product_classes.Product(name="turtle", price=5.0, barcode=1045 ,image_filename="animals/turtle") -product_list = [melon,pear,peach,orange,apple,banana,cherry,kiwi,grape,strawberry,pineapple,blueberry,raspberry,lemon,tire,wash,oil,gas,work_time,tool_usage,steering_wheel,air_pump,bike_bell,light,flashlight,search] +product_list = [melon,pear,peach,orange,apple,banana,cherry,kiwi,grape,strawberry,pineapple,blueberry,raspberry,lemon, + tire,wash,oil,gas,work_time,tool_usage,steering_wheel,air_pump,bike_bell,light,flashlight,search, + birdfood,carrot,cat_food,dog_bath_product,dog_dish,dog_food,dog_leash,dog_toy,feather_toy,fish_food,hair_brush,hamster_food, + bird,bunny,cat,fish,hamster,husky,snake,turtle] def get_all_products() -> list[product_classes.Product]: return product_list